[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-bugs
Subject:    [Bricolage-Bugs] [Bug 432] New: Auto install unable to set bricolage.conf variable APACHE_BIN
From:       bugzilla-daemon () thepirtgroup ! com
Date:       2003-07-24 11:21:19
[Download RAW message or body]

           Summary: Auto install unable to set bricolage.conf variable
                    APACHE_BIN
           Product: Bricolage
           Version: 1.6.x - Current Release
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Installation
        AssignedTo: stregar@about-inc.com
        ReportedBy: stutz@nccn.net


The automated installation seems to be unable to set a variable in
bricolage.conf. Output from the installation (after downloading and unpacking
into /usr/loca/src/bricolage-1.6.1) is: (DB files follow output)

[root@renoir bricolage-1.6.1]# make
/usr/bin/perl inst/required.pl


==> Probing Required Software <==

Looking for PostgreSQL with version >= 7.1.0...
Found PostgreSQL's pg_config at '/usr/bin/pg_config'.
Is this correct? [yes]
Found acceptable version of Postgres: 7.3.2.
Looking for Apache with version >= 1.3.12...
Found Apache server binary at '/usr/sbin/httpd'.
Is this correct? [yes] n
Enter path to Apache server binary [/usr/sbin/httpd] /usr/local/apache/bin/httpd
Are you sure you want to use '/usr/local/apache/bin/httpd'? [yes]
Found Apache executable at /usr/local/apache/bin/httpd.
Found acceptable version of Apache: 1.3.27.
Looking for expat...
Found expat at /usr/lib/libexpat.so.
Looking for iconv...
Found iconv at /usr/bin/iconv.


==> Finished Probing Required Software <==

/usr/bin/perl inst/modules.pl


==> Probing Required Perl Modules <==

Looking for Storable...found.
Looking for Time::HiRes...found.
Looking for Unix::Syslog...found.
Looking for Net::Cmd...found.
Looking for Devel::Symdump...found.
Looking for DBI...found.
Checking that DBI version is >= 1.15... ok.
Looking for Error...found.
Looking for Cache::Cache...found.
Looking for Digest::MD5...found.
Looking for Digest::SHA1...found.
Checking that Digest::SHA1 version is >= 2.01... ok.
Looking for URI...found.
Looking for HTML::Tagset...found.
Looking for HTML::Parser...found.
Looking for MIME::Base64...found.
Looking for XML::Writer...found.
Looking for LWP...found.
Looking for Image::Info...found.
Looking for Text::Iconv...found.
Looking for MLDBM...found.
Looking for Params::Validate...found.
Looking for HTML::Mason...found.
Checking that HTML::Mason version is >= 1.16... ok.
Looking for DBD::Pg...found.
Looking for DB_File...found.
Looking for Apache::Session...found.
Checking that Apache::Session version is >= 1.54... ok.
Looking for Apache::Request...found.
Checking that Apache::Request version is >= 1.0... ok.
Looking for Test::Harness...found.
Checking that Test::Harness version is >= 2.03... ok.
Looking for Test::Simple...found.
Looking for Parse::RecDescent...found.
Looking for Text::Balanced...found.
Looking for HTML::Template...found.
Looking for HTML::Template::Expr...found.
Looking for XML::Parser::Expat...found.
Looking for XML::Simple...found.
Looking for IO::Stringy...found.
Looking for MIME::Parser...found.
Looking for SOAP::Lite...found.
Looking for Apache::ConfigFile...found.
Checking that Apache::ConfigFile version is >= 0.14... ok.
Looking for File::Temp...found.
Looking for Cache::Mmap...found.
Looking for Text::Soundex...found.
Looking for Locale::Maketext...found.
Looking for Test::Class...found.
Looking for Exception::Class...found.
Checking that Exception::Class version is >= 1.12... ok.
Looking for Pod::Simple...found.
Looking for Test::Pod...found.
Checking that Test::Pod version is >= 0.95... ok.
Looking for Devel::Profiler...found.
Checking that Devel::Profiler version is >= 0.03... ok.
Looking for Apache::SizeLimit...found.
Looking for Net::FTPServer...not found.
Do you want to install the optional module Net::FTPServer? [no]
Looking for Net::SFTP...not found.
Do you want to install the optional module Net::SFTP? [no]
Looking for HTTP::DAV...found.
Looking for Text::Levenshtein...found.
Looking for Crypt::SSLeay...found.


==> Finished Probing Required Perl Modules <==

/usr/bin/perl inst/apache.pl


==> Probing Apache Configuration <==

Extracting configuration data from `/usr/local/apache/bin/httpd -V`.
Reading Apache conf file: /usr/local/apache/conf/httpd.conf.
Extracting static module list from `/usr/local/apache/bin/httpd -l`.
Your Apache doesn't support loadable modules (DSOs).
Found Apache user: nobody
Found Apache group: nobody
Checking for required Apache modules...
All required modules found.
====================================================================

Your Apache configuration suggested the following defaults.  Press
[return] to confirm each item or type an alternative.  In most cases
the default should be correct.

Apache User:                     [nobody]
Apache Group:                    [nobody]
Apache Port:                     [80]
Apache Server Name:              [renoir.gvcr.com]

====================================================================


==> Finished Probing Apache Configuration <==

/usr/bin/perl inst/postgres.pl


==> Probing PostgreSQL Configuration <==

Extracting postgres include dir from /usr/bin/pg_config.
Extracting postgres lib dir from /usr/bin/pg_config.
Extracting postgres bin dir from /usr/bin/pg_config.
Finding psql.

Postgres Root Username [postgres]
Postgres Root Password (leave empty for no password) []
Postgres System Username [postgres]
Bricolage Postgres Username [bric]
Bricolage Postgres Password [NONE] br1c0Lag3
Are you sure you want to use 'br1c0Lag3'? [yes]
Bricolage Database Name [bric]


==> Finished Probing PostgreSQL Configuration <==

/usr/bin/perl inst/config.pl


==> Gathering User Configuration <==

========================================================================

Bricolage comes with two sets of defaults.  You'll have the
opportunity to override these defaults but choosing wisely here will
probably save you the trouble.  Your choices are:

  s - "single"   one installation for the entire system

  m - "multi"    an installation that lives next to other installations
                 on the same machine

Your choice? [s]

Bricolage Root Directory [/usr/local/bricolage]
Temporary Directory [/tmp]
Perl Module Directory [/usr/lib/perl5/site_perl/5.8.0]
Executable Directory [/usr/bin]
Man-Page Directory (! to skip) [/usr/share/man]
Log Directory [/usr/local/apache/logs/]
PID File Location [/usr/local/apache/logs/httpd.pid]
Mason Component Directory [/usr/local/bricolage/comp]
Mason Data Directory [/usr/local/bricolage/data]


==> Finished Gathering User Configuration <==

/usr/bin/perl inst/conf.pl INSTALL `/usr/bin/perl -ne '/VERSION.*?([\d\.]+)/ and
print $1 and exit' < lib/Bric.pm`


==> Creating Bricolage Conf Files <==

Reading conf/bricolage.conf...
###############################################################################

Unable to set bricolage.conf variable APACHE_BIN to "/usr/local/apache/bin/httpd".
###############################################################################
make: *** [bconf/bricolage.conf] Error 1

DB Files
apache.db
$AP = {
        'SUEXEC_BIN' => '/usr/local/apache/bin/suexec',
        'HARD_SERVER_LIMIT' => 1,
        'conf_file' => '/usr/local/apache/conf/httpd.conf',
        'ssl_cert' => '/usr/local/apache/conf/ssl.crt/server.crt',
        'static_modules' => {
                              'mod_alias' => 1,
                              'mod_cgi' => 1,
                              'mod_status' => 1,
                              'mod_setenvif' => 1,
                              'mod_autoindex' => 1,
                              'mod_mime' => 1,
                              'mod_log_config' => 1,
                              'mod_actions' => 1,
                              'mod_access' => 1,
                              'http_core' => 1,
                              'mod_perl' => 1,
                              'mod_auth' => 1,
                              'mod_rewrite' => 1,
                              'mod_dir' => 1,
                              'mod_asis' => 1,
                              'mod_negotiation' => 1,
                              'mod_userdir' => 1,
                              'mod_imap' => 1,
                              'mod_include' => 1,
                              'mod_env' => 1
                            },
        'dso' => 0,
        'group' => 'nobody',
        'DEFAULT_PIDLOG' => 'logs/httpd.pid',
        'ssl_key' => '/usr/local/apache/conf/ssl.key/server.key',
        'user' => 'nobody',
        'HAVE_MMAP' => 1,
        'ACCESS_CONFIG_FILE' => 'conf/access.conf',
        'ssl_port' => 443,
        'HAVE_SYSVSEM_SERIALIZED_ACCEPT' => 1,
        'DEFAULT_SCOREBOARD' => 'logs/httpd.scoreboard',
        'RESOURCE_CONFIG_FILE' => 'conf/srm.conf',
        'DEFAULT_LOCKFILE' => 'logs/httpd.lock',
        'ssl' => 0,
        'USE_MMAP_FILES' => 1,
        'port' => '80',
        'SINGLE_LISTEN_UNSERIALIZED_ACCEPT' => 1,
        'types_config' => '/usr/local/apache/conf/mime.types',
        'DEFAULT_ERRORLOG' => 'logs/error_log',
        'HAVE_SHMGET' => 1,
        'TYPES_CONFIG_FILE' => 'conf/mime.types',
        'USE_SHMGET_SCOREBOARD' => 1,
        'HTTPD_ROOT' => '/usr/local/apache',
        'HAVE_FCNTL_SERIALIZED_ACCEPT' => 1,
        'SERVER_CONFIG_FILE' => 'conf/httpd.conf',
        'server_name' => 'renoir.gvcr.com'
      };

config.db
$CONFIG = {
            'PID_FILE' => '/usr/local/apache/logs/httpd.pid',
            'MASON_COMP_ROOT' => '/usr/local/bricolage/comp',
            'MAN_DIR' => '/usr/share/man',
            'BIN_DIR' => '/usr/bin',
            'MODULE_DIR' => '/usr/lib/perl5/site_perl/5.8.0',
            'BRICOLAGE_ROOT' => '/usr/local/bricolage',
            'LOG_DIR' => '/usr/local/apache/logs/',
            'TEMP_DIR' => '/tmp',
            'MASON_DATA_ROOT' => '/usr/local/bricolage/data',
            'set' => 's'
          };

modules.db
$MOD = [
         {
           'name' => 'Storable',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Time::HiRes',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Unix::Syslog',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Net::Cmd',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Devel::Symdump',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'DBI',
           'optional' => 0,
           'found' => 1,
           'req_version' => '1.15'
         },
         {
           'name' => 'Error',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Cache::Cache',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Digest::MD5',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Digest::SHA1',
           'optional' => 0,
           'found' => 1,
           'req_version' => '2.01'
         },
         {
           'name' => 'URI',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTML::Tagset',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTML::Parser',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'MIME::Base64',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'XML::Writer',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'LWP',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Image::Info',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Text::Iconv',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'MLDBM',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Params::Validate',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTML::Mason',
           'optional' => 0,
           'found' => 1,
           'req_version' => '1.16'
         },
         {
           'name' => 'DBD::Pg',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'DB_File',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Apache::Session',
           'optional' => 0,
           'found' => 1,
           'req_version' => '1.54'
         },
         {
           'name' => 'Apache::Request',
           'optional' => 0,
           'found' => 1,
           'req_version' => '1.0'
         },
         {
           'name' => 'Test::Harness',
           'optional' => 0,
           'found' => 1,
           'req_version' => '2.03'
         },
         {
           'name' => 'Test::Simple',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Parse::RecDescent',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Text::Balanced',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTML::Template',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTML::Template::Expr',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'XML::Parser::Expat',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'XML::Simple',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'IO::Stringy',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'MIME::Parser',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'SOAP::Lite',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Apache::ConfigFile',
           'optional' => 0,
           'found' => 1,
           'req_version' => '0.14'
         },
         {
           'name' => 'File::Temp',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Cache::Mmap',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Text::Soundex',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Locale::Maketext',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Test::Class',
           'optional' => 0,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Exception::Class',
           'optional' => 0,
           'found' => 1,
           'req_version' => '1.12'
         },
         {
           'name' => 'Pod::Simple',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Test::Pod',
           'optional' => 1,
           'found' => 1,
           'req_version' => '0.95'
         },
         {
           'name' => 'Devel::Profiler',
           'optional' => 1,
           'found' => 1,
           'req_version' => '0.03'
         },
         {
           'name' => 'Apache::SizeLimit',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Net::FTPServer',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Net::SFTP',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'HTTP::DAV',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Text::Levenshtein',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         },
         {
           'name' => 'Crypt::SSLeay',
           'optional' => 1,
           'found' => 1,
           'req_version' => undef
         }
       ];

postgres.db
$PG = {
        'db_name' => 'bric',
        'lib_dir' => '/usr/lib',
        'sys_pass' => 'br1c0Lag3',
        'sys_user' => 'bric',
        'system_user' => 'postgres',
        'psql' => '/usr/bin/psql',
        'bin_dir' => '/usr/bin',
        'system_user_uid' => 26,
        'root_user' => 'postgres',
        'root_pass' => '',
        'include_dir' => '/usr/include'
      };

required.db
$REQ = {
         'EXPAT' => '/usr/lib/libexpat.so',
         'PG_CONFIG' => '/usr/bin/pg_config',
         'ICONV' => '/usr/bin/iconv',
         'APACHE_VERSION' => [
                               1,
                               3,
                               27
                             ],
         'PG_VERSION' => [
                           7,
                           3,
                           '2'
                         ],
         'APACHE_EXE' => '/usr/local/apache/bin/httpd'
       };

Despite all this, APACHE_BIN in conf/bricolage.conf appears to be set correctly
as follows:

# remember to also change them in httpd.conf and visa versa.
APACHE_BIN              = /usr/local/apache/bin/httpd
APACHE_CONF             = /usr/local/bricolage/conf/httpd.conf

Is there a way around this? I have tried the manual install, but have other
difficulties with that.
Your help is greatly appreciated.

Many thanks,
Philip A. Holbert (aka stutz)

P.S. Are these pages maintained by bricolage? This system is really cool.

http://bugzilla.bricolage.cc/show_bug.cgi?id=432


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Bricolage-Bugs mailing list
Bricolage-Bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic