[freeside-users] Apache not running

Sam Tetherow tetherow at shwisp.net
Mon Feb 23 08:52:07 PST 2015


Does '/usr/local/etc/freeside/handler.pl' exist on the server?

ls -l /usr/local/etc/freeside/handler.pl

Make sure that the file exists, is owned by the freeside user (or group 
with group readable permissions) and accessable.  Easiest way is to 
switch to the freeside user and issue the ls command listed above.

On 02/23/2015 10:31 AM, David Peterson 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/20150223/baaa7985/attachment.html>


More information about the freeside-users mailing list