[freeside-users] Having problems after install

sales at michianawireless.com sales at michianawireless.com
Sun Sep 4 03:07:40 PDT 2005


Hello,

Looking further I found part of the problem which was the httpd.conf info
the doc said to put in was wrong, here is what I got now:

PerlModule HTML::Mason
# your freeside docuemnt root
<Directory /var/www/html/freeside>
<Files ~ (\.cgi|\.html)>
AddHandler perl-script .cgi .html
PerlHandler HTML::Mason
</Files>
</Directory>
#<Perl>
PerlRequire /usr/local/etc/freeside/handler.pl
#</Directory>

Problem being now the httpd server will not start saying the following
(Using Mod_perl 1.99_16-3):

Could not determine the server's fully qualified domain name, using
127.0.0.1 for ServerName
[Sun Sep 04 05:08:15 2005] [error] Can't locate mod_perl2.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 23.\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
41.\nCompilation failed in require at /usr/local/etc/freeside/handler.pl
line 15.\nBEGIN failed--compilation aborted at
/usr/local/etc/freeside/handler.pl line 15.\nCompilation failed in require
at (eval 2) line 1.\n
[Sun Sep 04 05:08:15 2005] [error] Can't load Perl file:
/usr/local/etc/freeside/handler.pl for server 127.0.0.1:0, exiting...

No one in the docs does it say mod_perl 2.0 or better is required. I have
Mod_perl 1.99_16-3. Does this mean I am going to have to upgrade to 2.0 or
better or is there something else wrong here?

Thanks,
John


> Hi,
> you need to check these things:
> a) do you have apache compiled with mod_perl? I would recommend mod_perl
> 1.29
> b) is your httpd.conf configured to execute cgi perl scripts
> 
> It doesnt hurt to post the error logs of httpd.
> 
> Regards,
> Shivkumar
> 
> 
> 
> sales at michianawireless.com said the following:
> 
> > First as requested here is the required information about my setup:
> >
> > Freeside version: 1.5.7
> >
> > Using HTML::Mason (version 1.3101)
> >
> > OS Fedora 3
> >
> > Perl V 5.8.5
> >
> > Apache-DBI-0.94
> >
> > MLDBM-2.01
> >
> > postgresql-7.4.8
> >
> > Basically on the rest. All the perl modules were downloaded using CPAN
> > as of yesterday so should be of the latest. Now that that is out of
> > the way, here is the problem.
> >
> > Went via the instructions and installed freeside exactly to the T on
> > the web site setup. Went fine, then headed to the next step the admin
> > setup. I logged into the site http://thesite/freeside/ and get the
> > auth prompt and enter the info and then it gets to the menu and from
> > here is the problem.
> >
> > % my $conf = new FS::Conf;
> >
> > freeside
> >
> >
> >
> > <% $conf->config('company_name') %>Billing
> >
> >
> >
> > Logged in as
> >
> > <% getotaker %>
> >
> > Freeside <http://www.sisd.com/freeside> v
> > <% $FS::VERSION %>Documentation <http://12.96.250.154/freeside/docs/>%
> > if ( $conf->config('ticket_system') eq 'RT_Internal' ) { % eval "use
> > RT;";
> >
> >
> >
> >
> >
> > RT <http://www.bestpractical.com/rt> v
> > <% $RT::VERSION %>Documentation <http://wiki.bestpractical.com/>% }
> >
> >
> > [ Sales / Customer service ] % if ( $conf->config('ticket_system') ) {
> > [ Support / Ticketing
> > <http://12.96.250.154/freeside/#ticketing#ticketing> ] % } [
> > Bookkeeping / Collections
> > <http://12.96.250.154/freeside/#bookkeeping#bookkeeping> ] [ Reports
> > <http://12.96.250.154/freeside/#reports#reports> ] [ Sysadmin
> > <http://12.96.250.154/freeside/#sysadmin#sysadmin> ]
> >
> > And when you click a link it gives you code instead of the page, see
> > below:
> >
> > Clicking add new customer - Results:
> >
> > % % % #for misplaced logic below % #use FS::part_pkg; % % #for false
> > laziness below (now more properly lazy) % #use FS::svc_acct_pop; % %
> > #for (other) false laziness below % #use FS::agent; % #use
> > FS::type_pkgs; % %my $conf = new FS::Conf; % %#get record % %my $error
> > = ''; %my($custnum, $username, $password, $popnum, $cust_main,
> > $saved_pkgpart); %my(@invoicing_list); %if ( $cgi->param('error') ) {
> > % $error = $cgi->param('error'); % $cust_main = new FS::cust_main ( {
> > % map { $_, scalar($cgi->param($_)) } fields('cust_main') % } ); %
> > $custnum = $cust_main->custnum; % $saved_pkgpart =
> > $cgi->param('pkgpart_svcpart') || ''; % if ( $saved_pkgpart =~
> > /^(\d+)_/ ) { % $saved_pkgpart = $1; % } else { % $saved_pkgpart = '';
> > % } % $username = $cgi->param('username'); % $password =
> > $cgi->param('_password'); % $popnum = $cgi->param('popnum'); %
> > @invoicing_list = split( /\s*,\s*/, $cgi->param('invoicing_list') );
> > %} elsif ( $cgi->keywords ) { #editing % my( $query ) =
> > $cgi->keywords; % $query =~ /^(\d+)$/; % $custnum=$1; % $cust_main =
> > qsearchs('cust_main', { 'custnum' => $custnum } ); % if (
> > $cust_main->dbdef_table->column('paycvv') % &&
> > length($cust_main->paycvv) ) { % my $paycvv = $cust_main->paycvv; %
> > $paycvv =~ s/./*/g; % $cust_main->paycvv($paycvv); % } %
> > $saved_pkgpart = 0; % $username = ''; % $password = ''; % $popnum = 0;
> > % @invoicing_list = $cust_main->invoicing_list; %} else { %
> > $custnum=''; % $cust_main = new FS::cust_main ( {} ); %
> > $cust_main->otaker( &getotaker ); % $cust_main->referral_custnum(
> > $cgi->param('referral_custnum') ); % $saved_pkgpart = 0; % $username =
> > ''; % $password = ''; % $popnum = 0; % @invoicing_list = (); %}
> > %$cgi->delete_all(); %my $action = $custnum ? 'Edit' : 'Add'; % % <%
> > header("Customer $action", '', ' onUnload="myclose()"') %>% if (
> > $error ) { Error: <% $error %>% }
> >
> > Trimmed the rest.
> >
> > Please let me know what went wrong?
> >
> > Thanks,
> >
> > John
> >
> > P.S. Sorry if I missed any pertinent info requested.
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >freeside-users mailing list
> >freeside-users at sisd.com
> >http://420.am/cgi-bin/mailman/listinfo/freeside-users
> >
> >
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users



More information about the freeside-users mailing list