Koozali.org: home of the SME Server

squid help

AidansDad

squid help
« on: July 31, 2005, 07:01:08 PM »
I'm having problems with squid.  when I try to stop it or restart it I get errors.  here is the error when I try to restart squid
Quote

Stopping squid: /etc/init.d/squid: line2: 3248 Aborted  $SQUID -k check >/dev/null 2>&1
                                     
Sarting squid: /etc/init.d/squid line 148 3249 Aborted  $SQUID $SQUID_OPTS 2>/dev/null


any ideas?

cc_skavenger

squid help
« Reply #1 on: July 31, 2005, 08:34:01 PM »
What version of SME?  Did you install any contribs that would change squid?

What do lines 2 and 148 show on them?

AidansDad

squid help
« Reply #2 on: August 01, 2005, 04:46:22 AM »
Quote from: "cc_skavenger"
What version of SME?  Did you install any contribs that would change squid?

What do lines 2 and 148 show on them?


a clean 6.5 install that had a 5.5 backup restored on it.  on the 5.5 server there was a contrib e-smith-proxy-auth to authenticate users to use the proxy server thus restricting internet access to only certain users.

I attempted to remove the contrib with "rpm -e e-smith-proxy-auth" once I saw that the "proxy users" panel was no longer there after the restore. but it says that it's not installed.  so I thought that I needed to restore squid.conf to a default setting using the default template and tried "# /sbin/e-smith/expand-template /etc/squid/squid.conf" as suggested here...but it didn't seem to work, and if I set any computers to use the proxy server even the INTRANET webpages (message board, webmail etc) don't work

but do I need to copy all the contents of the default template directory to the custom template directory first before explanding the template for this to work?  

I'm on the last step with the server upgrade and it's had a few bumbs along the way... if I can conquer this one and get sme-squid installed all will be well, but I first need to get squid reset as it would be on a default sme 6.5 install.

any and all help is REALLY appreciated.

thanks!
Lance

Offline raem

  • *
  • 3,972
  • +4/-0
squid help
« Reply #3 on: August 01, 2005, 09:50:37 AM »
AidansDad

> I attempted to remove the contrib with "rpm -e e-
> smith-proxy-auth" .....but it says that it's not installed.

That's because it is not installed on the fresh version of sme 6.5 you are using now, and I assume you didn't install it either. Contribs that you install are not part of the backup and must be installed again.

I don't know if that contrib is compatible with  6.5 or not, you could try installing it, and if OK it will pick up the config information (in the templates) that was part of the backup/restore.

Normally you would reinstall all add on contribs after the restore from an earlier version is complete.


> if I can conquer this one and get sme-squid
> installed all will be well, but I first need to
> get squid reset as it would be on a default sme
> 6.5 install.

Install the old contrib and then uninstall it, that should remove any old templates and config information.

Just to be sure do the following afterwards
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot


The correct process would have been to uninstall the contrib (and any other incompatible contribs) from v5.5 and then do a backup. That way you are not carrying over unwanted config information.
Is it too late to do that and try the restore again ?
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
squid help
« Reply #4 on: August 02, 2005, 03:57:21 AM »
FWIW, It seems to work fine on 6.5rc1.  I have tested and used it.

JB
......

AidansDad

squid help
« Reply #5 on: August 02, 2005, 12:44:55 PM »
Quote from: "RayMitchell"
AidansDad

> I attempted to remove the contrib with "rpm -e e-
> smith-proxy-auth" .....but it says that it's not installed.

That's because it is not installed on the fresh version of sme 6.5 you are using now, and I assume you didn't install it either. Contribs that you install are not part of the backup and must be installed again.

I don't know if that contrib is compatible with  6.5 or not, you could try installing it, and if OK it will pick up the config information (in the templates) that was part of the backup/restore.

Normally you would reinstall all add on contribs after the restore from an earlier version is complete.


> if I can conquer this one and get sme-squid
> installed all will be well, but I first need to
> get squid reset as it would be on a default sme
> 6.5 install.

Install the old contrib and then uninstall it, that should remove any old templates and config information.

Just to be sure do the following afterwards
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot


The correct process would have been to uninstall the contrib (and any other incompatible contribs) from v5.5 and then do a backup. That way you are not carrying over unwanted config information.
Is it too late to do that and try the restore again ?


thanks Ray!  You're the Man

I installed the contrib, posted-upgrade, rebooted.  My proxy panel wasn't there, but squid started and stopped fine.  I uninstalled it and installed sme-squid, posted-upgrade, and rebooted.  the proxy users panel was there.  Even the old users were there.  I had to reset passwords for them to work, but that ain't no big deal.  Everything is cool  :lol: