RE: [squid-users] squid.conf.documented instead of squid.conf?
Hello Amos, > > B) is it normal that now the /etc/squid3/squid.conf is not > anymore a > > file, but a directory? > > No. It's a new bug in the Debian squid3-3.1.1-2 package. > Hopefully Luigi can fix it again. I checked bug-reportings and there it is: BUG #577615 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577615) > > C) how can I extract the actual configuration from the > running squid3? > > squidclient mgr:con...@password > (catch-22: usually requires the "password" as configured in > cachemgr_passwd in squid.conf) I'm getting error: The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: cache_object://localhost/con...@cachemgr Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. - Password is correct, because I can login via webinterface at http://172.16.16.221/cgi-bin/cachemgr3.cgi Any clues to go further? Thanks, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 URL: http://www.piramide.ch E-mail: fla...@piramide.ch
Re: [squid-users] squid.conf.documented instead of squid.conf ?
On Wed, 14 Apr 2010 16:02:06 +0200, "Boniforti Flavio" wrote: > Hello list. > > I'm on Debian SID and wanted to update squid3 to the latest 3.1.1-2 > version. What happened is that dpkg returned me following error: > > Configurazione di squid3 (3.1.1-2)... > sed: errore di lettura su stdin: Is a directory > dpkg: errore nell'elaborare squid3 (--configure): > il sottoprocesso vecchio script di post-installation ha restituito lo > stato di errore 4 > Si sono verificati degli errori nell'elaborazione: > squid3 > E: Sub-process /usr/bin/dpkg returned an error code (1) > > The *second* line is the one that made me investigate a little bit: > "sed: error reading stdin: Is a directory"... Thus I checked /etc/squid3 > and got this: > > drwxr-xr-x 2 root root 4096 14 apr 15:54 squid.conf > > Entering that directory, I discovered: > > -rw-r--r-- 1 root root 198563 12 apr 16:09 squid.conf.documented > > My questions are: > > A) where did my customized squid.conf disappear to? unknown. > B) is it normal that now the /etc/squid3/squid.conf is not anymore a > file, but a directory? No. It's a new bug in the Debian squid3-3.1.1-2 package. Hopefully Luigi can fix it again. > C) how can I extract the actual configuration from the running squid3? squidclient mgr:con...@password (catch-22: usually requires the "password" as configured in cachemgr_passwd in squid.conf) Amos
Re: [squid-users] squid.conf.documented instead of squid.conf?
On 04/14/2010 04:02 PM, Boniforti Flavio wrote: > Hello list. > > I'm on Debian SID and wanted to update squid3 to the latest 3.1.1-2 > version. What happened is that dpkg returned me following error: > > Configurazione di squid3 (3.1.1-2)... > sed: errore di lettura su stdin: Is a directory > dpkg: errore nell'elaborare squid3 (--configure): > il sottoprocesso vecchio script di post-installation ha restituito lo > stato di errore 4 > Si sono verificati degli errori nell'elaborazione: > squid3 > E: Sub-process /usr/bin/dpkg returned an error code (1) > > The *second* line is the one that made me investigate a little bit: > "sed: error reading stdin: Is a directory"... Thus I checked /etc/squid3 > and got this: > > drwxr-xr-x 2 root root 4096 14 apr 15:54 squid.conf > > Entering that directory, I discovered: > > -rw-r--r-- 1 root root 198563 12 apr 16:09 squid.conf.documented > > My questions are: > > A) where did my customized squid.conf disappear to? > B) is it normal that now the /etc/squid3/squid.conf is not anymore a > file, but a directory? > C) how can I extract the actual configuration from the running squid3? I would say, instead of asking here in the squid mailing list, you should better file a bug report against the debian package. Looks like something is wrong there. I don't think this is a Squid problem. -- Matthias
[squid-users] squid.conf.documented instead of squid.conf?
Hello list. I'm on Debian SID and wanted to update squid3 to the latest 3.1.1-2 version. What happened is that dpkg returned me following error: Configurazione di squid3 (3.1.1-2)... sed: errore di lettura su stdin: Is a directory dpkg: errore nell'elaborare squid3 (--configure): il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 4 Si sono verificati degli errori nell'elaborazione: squid3 E: Sub-process /usr/bin/dpkg returned an error code (1) The *second* line is the one that made me investigate a little bit: "sed: error reading stdin: Is a directory"... Thus I checked /etc/squid3 and got this: drwxr-xr-x 2 root root 4096 14 apr 15:54 squid.conf Entering that directory, I discovered: -rw-r--r-- 1 root root 198563 12 apr 16:09 squid.conf.documented My questions are: A) where did my customized squid.conf disappear to? B) is it normal that now the /etc/squid3/squid.conf is not anymore a file, but a directory? C) how can I extract the actual configuration from the running squid3? Many thanks in advance. Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 URL: http://www.piramide.ch E-mail: fla...@piramide.ch