Modify

Ticket #2875 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

HTTP Proxy

Reported by: pe.florencio.lecchi@… Owned by: jamor@…
Milestone: 2.0.X Component: squid
Severity: critical Keywords: http proxy stopped
Cc: webmaster@…

Description

Trace fileparse(): need a valid pathname at /usr/share/perl5/EBox/Squid.pm line 914.

Attachments

ebox.log Download (50.9 KB) - added by pe.florencio.lecchi@… 2 years ago.
ebox log

Change History

Changed 2 years ago by pe.florencio.lecchi@…

ebox log

comment:1 Changed 2 years ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed

We have already in the repository a fix for this situation.

To hotfix your server:

1) open /use/share/perl5/Ebox/Squid.pm

2) go to the wherabouts of line 914. Replace this code block:

        my $path = $self->get_string($key);
        my $basename = basename($path);

with:

       my $path = $self->get_string($key);
       $path or 
 	    next; 
       my $basename = basename($path);
  1. Restart the web interface and the HTTP proxy with:
/etc/init.d/ebox squid restart
/etc/init.d/ebox apache restart

As I had said we will have seen this before and fixed it with this small modification. However we were unable to reproduce the error at will so seeing your configuration could be helpful for us. If you could sent a configuration report to jamor at zentyal.com we will be grateful.

Cheers,

Javier

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.