[freeside] Initial Configuration error im getting
ivan
ivan at 420.am
Fri Feb 28 18:16:48 PST 2003
http://www.sisd.com/freeside/docs/install.html:
- Run a separate iteration of Apache[-SSL] with mod_perl enabled as
the freeside user.
--
_ivan
On Fri, Feb 28, 2003 at 03:54:45PM -0700, Airzip Support wrote:
> running the new beta when I try to goto the initial configuration screen, I
> seem to get nasty messages that im doing something stupid. This should not
> be this hard, but i must be missing something
>
> Here is what error debug screen that pops up on my browser after a few
> moments before it pukes
> I see that it says something about running UID of freeside and i have tried
> /etc/init.d/freeside start as the freeside user. I have also tried it with
> root still same problem
> Im running Debian on this box with all the current updates.
>
> Any insight helpful
> Thanks
> Kent Andersen
>
> Errors Output
> Not running uid freeside! at /usr/local/etc/freeside/asp-global//global.asa
> line 62 , /usr/local/share/perl/5.6.1/Apache/ASP.pm line 1489
> Debug Output
> Not running uid freeside! at /usr/local/etc/freeside/asp-global//global.asa
> line 62 , /usr/local/share/perl/5.6.1/Apache/ASP.pm line 1489
> ASP to Perl Script
>
> -: no strict;;use vars qw($Application $Session $Response $Server
> $Request);;
> -: #line 1 /var/www/freeside/config/config-view.cgi
> 1: ;;&Apache::ASP::WriteRef($main::Response, \('<!-- mason kludge -->
> 2: '.( header('View Configuration', menubar( 'Main Menu' => $p,
> 3: 'Edit Configuration' =>
> 'config.cgi' ) ) ).'
> 4:
> 5: ')); my $conf = new FS::Conf; my @config_items = $conf->config_items; ;
> &Apache::ASP::WriteRef($main::Response, \('
> 6:
> 7: ')); foreach my $section ( qw(required billing username password UI
> session
> 8: shell mail apache BIND
> 9: ),
> 10: '', 'deprecated') { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 11: <A NAME="'.( $section || 'unclassified' ).'"></A>
> 12: <FONT SIZE="-2">
> 13: ')); foreach my $nav_section ( qw(required billing username password
> UI session
> 14: shell mail apache BIND
> 15: ),
> 16: '', 'deprecated') { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 17: ')); if ( $section eq $nav_section ) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 18: [<A NAME="not'.( $nav_section || 'unclassified' ).'"
> style="background-color: #cccccc">'.( ucfirst($nav_section ||
> 'unclassified') ).'</A>]
> 19: ')); } else { ; &Apache::ASP::WriteRef($main::Response, \('
> 20: [<A HREF="#'.( $nav_section || 'unclassified' ).'">'.(
> ucfirst($nav_section || 'unclassified') ).'</A>]
> 21: ')); } ; &Apache::ASP::WriteRef($main::Response, \('
> 22: ')); } ; &Apache::ASP::WriteRef($main::Response, \('
> 23: </FONT><BR>
> 24: '.( table("#cccccc", 2) ).'
> 25: <tr>
> 26: <th colspan="2" bgcolor="#dcdcdc">
> 27: '.( ucfirst($section || 'unclassified') ).' configuration options
> 28: </th>
> 29: </tr>
> 30: ')); foreach my $i (grep $_->section eq $section, @config_items) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 31: <tr>
> 32: <td><a name="'.( $i->key ).'">
> 33: <b>'.( $i->key ).'</b> - '.( $i->description ).'
> 34: </a></td>
> 35: <td><table border=0>
> 36: ')); foreach my $type ( ref($i->type) ? @{$i->type} :
> $i->type ) {
> 37: my $n = 0; ; &Apache::ASP::WriteRef($main::Response, \('
> 38: ')); if ( $type eq '' ) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 39: <tr><td><font color="#ff0000">no type</font></td></tr>
> 40: ')); } elsif ( $type eq 'textarea'
> 41: || $type eq 'editlist'
> 42: || $type eq 'selectmultiple' ) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 43: <tr><td bgcolor="#ffffff">
> 44: <pre>
> 45: '.( encode_entities(join("\n", $conf->config($i->key) ) ) ).'
> 46: </pre>
> 47: </td></tr>
> 48: ')); } elsif ( $type eq 'checkbox' ) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 49: <tr><td bgcolor="#'.( $conf->exists($i->key) ?
> '00ff00">YES' : 'ff0000">NO' ).'</td></tr>
> 50: ')); } elsif ( $type eq 'text' || $type eq 'select' ) { ;
> &Apache::ASP::WriteRef($main::Response, \('
> 51: <tr><td bgcolor="#ffffff">'.( $conf->exists($i->key) ?
> $conf->config($i->key) : '' ).'</td></tr>
> 52: ')); } else { ; &Apache::ASP::WriteRef($main::Response, \('
> 53: <tr><td>
> 54: <font color="#ff0000">unknown type '.( $type ).'</font>
> 55: </td></tr>
> 56: ')); } ; &Apache::ASP::WriteRef($main::Response, \('
> 57: ')); $n++; } ; &Apache::ASP::WriteRef($main::Response, \('
> 58: </table></td>
> 59: </tr>
> 60: ')); } ; &Apache::ASP::WriteRef($main::Response, \('
> 61: </table><br><br>
> 62: ')); } ; &Apache::ASP::WriteRef($main::Response, \('
> 63:
> 64: </body></html>'));
>
More information about the freeside-users
mailing list