[Lanforge] allinoneconfigure script failed

narasimharao nelluri narasimha928 at gmail.com
Fri Mar 24 07:12:48 PST 2006


hi all

when i was running /usr/local/vocal/bin/allinoneconfigure/allinoneconfigure -v
i am getting the following error.please help me on this problem.i was
struck with this more than 2 weeks

WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING


    The following will destroy any VOCAL configuration that you
    currently have on your system.  If you would like to exit, press
    Control-C now.


WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING


Please press Enter to continue, or q to quit []:
I am using files from /usr/local/vocal/bin/allinoneconfigure.  Is this OK? [y]:

Welcome to the VOCAL all-in-one configuration system.  This program is
intended to configure a small example system which has all of the
servers running on one box, known as an "all-in-one" system.

This all-in-one system is NOT intended as a production system, but as
a simple example to get users started using VOCAL.

This configuration WILL destroy any currently configured system on
this machine.  If this is not acceptable, please quit by pressing
Control-C now.

Host IP Address [192.168.2.114]:
Remote Contact hostname or address (this should NOT be loopback or
127.0.0.1) [192.168.2.114]:
Multicast Heartbeat IP Address [224.0.0.100]:
Multicast Heartbeat Port (0 to deactivate heartbeat) [0]: 9000
Log Level [LOG_NOTICE]:
User to run as [nobody]:
HTML directory to install .jar and .html files into
 [/usr/local/vocal/html]:
CGI-BIN directory to install web-based provisioning cgi files into
 [/usr/local/vocal/cgi-bin]:

Provisioning your VOCAL system requires the ability to view the
contents of /usr/local/vocal/html from the web. There are two ways to
do this -- review both options before answering the next prompt.

Option 1:

  Step 1: Answer y to the next prompt. This will let this script
          attempt to add the following to your Apache httpd.conf
          file:

           Alias /vocal "/usr/local/vocal/html"
           <Directory "/usr/local/vocal/html">
               AllowOverride None
               Options ExecCGI
               Order allow,deny
               Allow from all
           </Directory>

           Adding this script creates an alias from the following URL:

           http://cvs/vocal/

           which points to /usr/local/vocal/html .


  Step 2: After this script has completed running, restart your copy
          of Apache (httpd) for the change to take effect.

Option 2: Answer n to the next prompt. Then, manually copy the
          directory /usr/local/vocal/html to HTML directory for your web server.
          You should not need to restart your copy of Apache
          after the script has completed running.

    ********
Add * HTML * directory alias
    ********

Would you like this script to attempt Option 1, Step 1 (y),
or would you like to perform Option 2 manually (n)? (If y,
you must restart Apache after this script has completed
running.) [y]:
Directory where Apache's httpd.conf is located [/etc/httpd/conf]:

Would you like to enable the web-based configuration of VOCAL?

There are two ways to do this -- review both options before answering
the next prompt.

  *******************************************************************

    Warning Warning Warning Warning Warning Warning Warning Warning

  *******************************************************************

    Both of these options change your web server to run additional
    code.  Please make sure that you take a look at the code and are
    comfortable running it on your web server.

Option 1:


  Step 1: Answer y to the next prompt. This will let this script
          attempt to add the following to your Apache httpd.conf
          file:

           ScriptAlias /vocalconf/ "/usr/local/vocal/cgi-bin"
           <Directory "/usr/local/vocal/cgi-bin">
               AllowOverride None
               Options ExecCGI
               Order allow,deny
               Allow from all
           </Directory>

           Adding this script creates an alias from the following URL:

           http://cvs/vocalconf/

           which points to /usr/local/vocal/cgi-bin .

  Step 2: After this script has completed running, restart your copy
          of Apache (httpd) for the change to take effect.



Option 2: Answer n to the next prompt. Then, manually copy the
          directory /usr/local/vocal/html to HTML directory for your web server.
          You should not need to restart your copy of Apache
          after the script has completed running.

    -----------
Add - CGI-BIN - alias
    -----------

Would you like this script to attempt Option 1, Step 1 (y),
or would you like to perform Option 2 manually (n)? (If y,
you must restart Apache after this script has completed
running.) [y]:
The apache web server runs CGI scripts as this user [apache]:
Would you like me to automatically generate a password
 (enter y to generate a password, or n to choose your own) [n]: y
Path to openssl program, or none to not configure SSL support
[/usr/bin/openssl]:

                   ******************************

Configuration:

Host IP Address:                   192.168.2.114
Remote Contact Address:            192.168.2.114
Multicast Heartbeat IP Address:    224.0.0.100
Multicast Heartbeat Port:          9000
Log Level:                         LOG_NOTICE
User to run as:                    nobody
HTML directory:                    /usr/local/vocal/html
CGI directory:                     /usr/local/vocal/cgi-bin
Apache will run as:                apache
Openssl:                           /usr/bin/openssl
Add alias to:                      /etc/httpd/conf/httpd.conf
Add CGI to:                        /etc/httpd/conf/httpd.conf

                   ******************************
Continue []: y


**********************************************************************

Beginning the VOCAL configuration process.  This may take a few
seconds.


  setting umask to 0022 -- users other than root must be able to
  run VOCAL in its default configuration...
  fixing permissions...
  Creating var directory...
  creating uavm config files...
  copying man pages to /usr/local/vocal/man
  creating GUA config file
  Stopping VOCAL if it is running...
  Creating and filling provisioning directory...
  Creating voicemail directory...
  Creating and filling HTML directory...
  Copying jar files...
    Adding alias to httpd.conf...
    It looks like the alias has already been added
    to httpd.conf.  Skipping...
    Adding CGI alias to httpd.conf...
    It appears that the CGI alias has already been added to
httpd.conf.  Skipping...
Generating RSA private key, 512 bit long modulus
..++++++++++++
.++++++++++++
e is 65537 (0x10001)
  Starting VOCAL...
  Creating configuration files...
could not set ListOfFeatureServers at
/usr/local/vocal/bin/allinoneconfigure/initalprovdata.pl line 161,
<STDIN> line 3.


   **********************    FATAL ERROR    **********************

      /usr/local/vocal/bin/allinoneconfigure/initalprovdata.pl exited
with an error:

   **********************    FATAL ERROR    **********************


aborted while running
  Creating configuration files.



More information about the LANforge mailing list