Ticket #2278 (closed defect: fixed)
http proxy changes cannot be saved
| Reported by: | mbonzo | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | 2.0.X | Component: | squid |
| Severity: | blocker | Keywords: | proxy saving |
| Cc: |
Description
I keep getting this error message on the web interface after making changes, and trying to save them, in the http proxy configuration (any type of change).
Some modules reported error when saving changes . More information on the logs in /var/log/ebox/
Can't use string ("EBox::Types::File") as a HASH ref while "strict refs" in
use Can't use string ("EBox::Types::File") as a HASH ref while "strict refs"
in use at /usr/share/perl5/EBox/Types/File.pm line 180.
Version: zentyal 2.0.1 running on a Virtual Machine.
I've tried, as stated in some forum posts, to disable/enable the module and saved changes while the module was disabled with no avail.
Enabled debug in /etc/ebox/99ebox.conf and gathered ebox log files, but those perl warnings
don't give me a clue, relevant parts of the logs here:
http://paste.ubuntu.com/489211/[[BR]]
Following ebox packages are installed:
ebox 2.0.1
ebox-firewall 2.0
ebox-monitor 2.0
ebox-network 2.0
ebox-objects 2.0
ebox-services 2.0
ebox-software 2.0
ebox-squid 2.0
ebox-usersandgroups 2.0.1
libebox 2.0
I've also tried to remove and reinstall squid and dansguardian packages with no joy.
At this point I wonder if there's any other debugging setting I can play with in order to understand what the program is trying to do and why it keeps failing.
Regards,
Marco
Attachments
Change History
comment:1 Changed 3 years ago by jsoriano@…
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 3 years ago by rogerio.carbonera@…
when I tried to upload a file with blacklists on zentyal 2.0 I got this error. I tried uninstall squid and users module but it doesn't work .
comment:3 Changed 3 years ago by anonymous
- Status changed from closed to reopened
- Resolution worksforme deleted
I have the same error. I put ACL with from file then error occurred. I need solve this urgent.
comment:5 in reply to: ↑ 4 Changed 3 years ago by rogerio.carbonera@…
First of all I tried upload urlblacklist.com The file's size was about 70 MB I tried upload that file but it takes a long time , so I aborted the process. After that the message started appear. I updated the system because i thougth that the problem was related to the version. I make up a new file only the categories that I needed and upload it. The file was uploaded sucefully. Today I realized that no more logs are updating the zentyal tables, but squid is working and blocking as my I determined.
Replying to jsoriano@ebox-platform.com:
What blaclist did you uploaded?
comment:6 Changed 3 years ago by jacalvo@…
- Owner changed from javier.amor.garcia@… to jacalvo@…
- Status changed from reopened to new
comment:7 Changed 3 years ago by informatique@…
- Severity changed from major to blocker
Hello, same error here, it happened both time when I tried to edit the list's categories. First time I uploaded this list: http://cri.univ-tlse1.fr/documentations/cache/squidguard_en.html#contrib i tried to uninstall and then reinstall but still the same error. I made a fresh install of Ebox and tried this list: http://urlblacklist.com/cgi-bin/commercialdownload.pl?type=download&file=bigblacklist same error.
No errors reported in the logs to attached.
comment:9 Changed 3 years ago by anonymous
Hi,
same error here also. I've initially tried to upload shalla-blacklist from here: http://www.shallalist.de/Downloads/shallalist.tar.gz
Since that time proxy cannot be saved anymore while upload of blacklist doesn't brought up any error... aptitude purge ebox squid, -as well as manual rm of squid, dansguardian and ebox-squid config files, and reinstall of ebox-squid doesn't help.
comment:10 Changed 3 years ago by anonymous
The link to pastebin is http://paste.ubuntu.com/489211/. I have the same problem im going to try to change the squid.conf file maybe there is the problem.
comment:11 Changed 3 years ago by cperez@…
- Status changed from new to closed
- Resolution set to fixed
Hi,
I couldn't reproduce the failure.
The pastebin link doesn't work anymore, could you please attach logs to this ticket?
Have you tried to uninstall proxy purging configuration (apt-get purge ebox-squid) and then reinstall? Did it fixed something?
Configuration report could also be helpful, could you please attach it?
Thanks for reporting.