[freeside-users] Apache not running

David Peterson david at 4gengineer.com
Tue Feb 24 13:55:01 PST 2015


Yeah I just installed RT would be a good module to have either way.

Apache is now stuck at:

[Tue Feb 24 16:53:33.219657 2015] [perl:error] [pid 1586] Couldn't load RT
config file RT_SiteConfig.pm:\n\nNot a HASH reference at
/usr/share/perl/5.18/Math/BigInt.pm line 1458.\nCompilation failed in
require at /opt/rt3/lib/RT/Config.pm line 910.\nBEGIN failed--compilation
aborted at /opt/rt3/lib/RT/Record.pm line 76.\nCompilation failed in
require at (eval 1215) line 2.\n\t...propagated at /usr/share/perl/5.18/
base.pm line 83.\nBEGIN failed--compilation aborted at
/opt/rt3/lib/RT/Queue.pm line 70.\nCompilation failed in require at
/opt/rt3/lib/RT/Ticket.pm line 72.\nBEGIN failed--compilation aborted at
/opt/rt3/lib/RT/Ticket.pm line 72.\nCompilation failed in require at
/opt/rt3/lib/RT/Tickets.pm line 85.\nBEGIN failed--compilation aborted at
/opt/rt3/lib/RT/Tickets.pm line 85.\nCompilation failed in require at (eval
1213) line 6.\nBEGIN failed--compilation aborted at (eval 1213) line
6.\nCompilation failed in require at /usr/local/etc/freeside/handler.pl
line 7.\nBEGIN failed--compilation aborted at /usr/local/etc/freeside/
handler.pl line 7.\nCompilation failed in require at (eval 2) line 1.\n


On Tue, Feb 24, 2015 at 3:27 PM, Sam Tetherow <tetherow at shwisp.net> wrote:

>  Did you install RT as described at
> http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:RT_Installation
>
> Not sure in version 3.x what needs to be able to run without RT, it use to
> be a setting in the Makefile.  A quick look at the installation pages did
> not list anything obvious.  Easiest would be to just install RT even if you
> are not planning on using it.
>
>
> On 02/24/2015 12:41 PM, David Peterson wrote:
>
> I finally hand coded all of the config files as the installation script
> did not change any of them.  Here is what I get now when i start Apache.
>
>  [Tue Feb 24 13:39:45.397320 2015] [perl:error] [pid 8197] Can't locate
> RT.pm in @INC (you may need to install the RT module) (@INC contains:
> /opt/rt3/local/lib /opt/rt3/lib /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 1213) line 4.\nBEGIN failed--compilation aborted at
> (eval 1213) line 4.\nCompilation failed in require at
> /usr/local/etc/freeside/handler.pl line 7.\nBEGIN failed--compilation
> aborted at /usr/local/etc/freeside/handler.pl line 7.\nCompilation failed
> in require at (eval 2) line 1.\n
> [Tue Feb 24 13:39:45.397396 2015] [perl:error] [pid 8197] Can't load Perl
> file: /usr/local/etc/freeside/handler.pl for server freeside.wmwisp.net:0,
> exiting...
>
>
> On Tue, Feb 24, 2015 at 1:24 PM, Sam Tetherow <tetherow at shwisp.net> wrote:
>
>>  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 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>
>> 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'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 for server
>>>
>>>
>>> On Mon, Feb 23, 2015 at 11:20 AM, Sam Tetherow <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>
>>>> 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 listfreeside-users at freeside.bizhttp://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
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> freeside-users mailing listfreeside-users at freeside.bizhttp://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
>>>>
>>>>
>>>
>>
>>
>> _______________________________________________
>> freeside-users mailing listfreeside-users at freeside.bizhttp://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
>>
>>
>
>
> _______________________________________________
> freeside-users mailing listfreeside-users at freeside.bizhttp://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/756caf85/attachment-0001.html>


More information about the freeside-users mailing list