[freeside-users] Apache not running

Sam Tetherow tetherow at shwisp.net
Tue Feb 24 10:24:00 PST 2015


That wouldn't explain handler.pl not found issue, that would be a 
filesystem issue (either invalid permissions or the file is not where it 
thinks it should be).



On 02/24/2015 10:52 AM, David Peterson wrote:
> I wonder if I am just fighting an incompatible perl version on the 
> latest Ubuntu LTS.  I am getting a lot of errors in the handler.pl 
> <http://handler.pl> script.
>
> defined(@array) is deprecated at 
> /usr/local/share/perl/5.18.2/Chart/Base.pm line 181.
>         (Maybe you should just omit the defined()?)
> defined(@array) is deprecated at 
> /usr/local/share/perl/5.18.2/Chart/Base.pm line 233.
>         (Maybe you should just omit the defined()?)
> defined(@array) is deprecated at 
> /usr/local/share/perl/5.18.2/FS/Mason.pm line 447.
>         (Maybe you should just omit the defined()?)
> defined(@array) is deprecated at 
> /usr/local/share/perl/5.18.2/FS/Mason.pm line 507.
>         (Maybe you should just omit the defined()?)
>
>
> On Mon, Feb 23, 2015 at 11:31 AM, David Peterson <david at 4gengineer.com 
> <mailto:david at 4gengineer.com>> wrote:
>
>     When I re-ran that command, I get this:
>
>     [ -e /etc/apache2/conf_enabled/freeside-base.conf ] && rm
>     /etc/apache2/conf_enabled/freeside-base.conf || true
>     [ -d /etc/apache2/conf_enabled ] && \
>               ( install -o root -m 755 htetc/freeside-base2.conf
>     /etc/apache2/conf_enabled && \
>                 ( [ 1 -eq 1 ] && install -o root -m 755
>     htetc/freeside-rt.conf /etc/apache2/conf_enabled || true ) && \
>                 ( [ 0 -eq 1 ] && install -o root -m 755
>     htetc/freeside-torrus.conf /etc/apache2/conf_enabled || true ) && \
>                 perl -p -i -e "\
>     s'%%%FREESIDE_DOCUMENT_ROOT%%%'/var/www/html/freeside'g; \
>     s'%%%FREESIDE_CONF%%%'/usr/local/etc/freeside'g; \
>     s'%%%MASON_HANDLER%%%'/usr/local/etc/freeside/handler.pl
>     <http://handler.pl>'g; \
>                 " /etc/apache2/conf_enabled/freeside-*.conf \
>               ) || true
>     [ -d /etc/insserv/overrides ] && [ -x /sbin/insserv ] && ( install
>     -o root -m 755 init.d/insserv-override-apache2
>     /etc/insserv/overrides/apache2 && insserv -d ) || true
>
>
>     I manually added the handler but it appears to not run:
>     [perl:error] [pid 17942] Can't load Perl file:
>     /usr/local/etc/freeside/handler.pl <http://handler.pl> for server
>
>
>     On Mon, Feb 23, 2015 at 11:20 AM, Sam Tetherow
>     <tetherow at shwisp.net <mailto:tetherow at shwisp.net>> wrote:
>
>         Did you run 'make install-apache' during the installation
>         process.  That is what replaces %%%MASON_HANDLER%%% in the
>         freeside.conf script with the actual mason handler program. 
>         This is based on my experience with 2.3 so it is possible to
>         have changed in a different version of freeside (although
>         unlikely).
>
>
>         On 02/23/2015 10:01 AM, David Peterson wrote:
>>         I have HTML::Mason installed.  This is Ubuntu, so maybe I
>>         have to find it and symlink it to that directory.
>>
>>         On Mon, Feb 23, 2015 at 10:31 AM, Sam Tetherow
>>         <tetherow at shwisp.net <mailto:tetherow at shwisp.net>> wrote:
>>
>>             HTML::Mason
>>
>>
>>             On 02/23/2015 08:47 AM, David Peterson wrote:
>>>
>>>             I am getting this error when I start Apache.
>>>
>>>
>>>             [Mon Feb 23 08:38:48.613317 2015] [perl:error] [pid
>>>             18820] Can't locate %%%MASON_HANDLER%%% in @INC (@INC
>>>             contains: /etc/perl /usr/local/lib/perl/5.18.2
>>>             /usr/local/share/perl/5.18.2 /usr/lib/perl5
>>>             /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18
>>>             /usr/local/lib/site_perl . /etc/apache2) at (eval 2)
>>>             line 1.\n
>>>
>>>             I can’t figure out which module I am missing. Any
>>>             suggestions will be greatly appreciated.
>>>
>>>             David
>>>
>>>
>>>
>>>             _______________________________________________
>>>             freeside-users mailing list
>>>             freeside-users at freeside.biz  <mailto:freeside-users at freeside.biz>
>>>             http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>>
>>
>>             _______________________________________________
>>             freeside-users mailing list
>>             freeside-users at freeside.biz
>>             <mailto:freeside-users at freeside.biz>
>>             http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>>
>>
>>
>>
>>         _______________________________________________
>>         freeside-users mailing list
>>         freeside-users at freeside.biz  <mailto:freeside-users at freeside.biz>
>>         http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>
>         _______________________________________________
>         freeside-users mailing list
>         freeside-users at freeside.biz <mailto:freeside-users at freeside.biz>
>         http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>
>
>
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freeside.biz/pipermail/freeside-users/attachments/20150224/594136d7/attachment-0001.html>


More information about the freeside-users mailing list