On Saturday 15 December 2001 14:58 pm, Stephen P. Molnar, Ph.D. wrote:
I have a web based application that I want to run on one of my SuSE v7.1 computers. I ran the perl setup script with the following results:
bash-2.04# perl setup.pl
WELCOME TO WEBMO VERSION 3.1.002 SETUP
I'm not web wizard but I'll take a crack at this:
In this portion of setup, you will be asked a few simple questions about file locations. The WebMO files will then be copied onto this server. After this is done you will log into WebMO to finish configuration. Enter to continue
==========================================================<
ENTER LICENSE INFORMATION
It is time to enter your WebMO license information. Please enter your license information exactly as it was received by you. If you do not yet have a WebMO license number, you can obtain one for free at www.webmo.net.
License number: xxxxxxxxxxxxxxxxxx
==========================================================<
SET UP THE PATH TO PERL
It is time to determine where the Perl interpreters are on your system. We recommend selecting Perl 5 if it is available.
The following Perl installations were detected on your server. You may choose to use one of these or you may specify another Perl installation that does not appear on the list.
1) /usr/bin/perl 2) /usr/local/bin/perl 3) [Select a different Perl]
Please choose which Perl to use by entering a number from 1 to 3.
Your choice [1-3]: 2
wrong... I doubt very much if your perl module is in the /usr/local/bin directory. Could be but you would have had to put it there specifically. Try /usr/bin/perl
==========================================================<
SET UP HOSTNAME
The script has determined that the hostname of this computer to be:
abnormal
IMPORTANT: This must represent the correct FULLY QUALIFIED hostname (computer.domain.edu) for this computer.
Is this hostname fully qualified and correct [y/n]:n Hostname: abnormal
==========================================================<
SET UP CGI DIRECTORY
The script will now create a directory into which the WebMO cgi scripts will be copied. The directory should meet the following requirements: - Directory is in the server's webspace - Execution of CGI scripts is permitted in directory - You need to have permission to write to this directory - The parent of the specified directory must already exist
Example: /home/smith/public_html/cgi-bin/webmo
Directory: /usr/local/lib/webmo
Please enter the URL corresponding to the specified directory. Example: /~smith/cgi-bin/webmo
URL: /root/webmo
Can't tell if the above is what you picked or not but I will assume it is. In order to execute cgi scripts from a directory, apache needs to be told that it is ok. You'd have to modify the /etc/httpd/httpd.conf file which I wouldn't really do if I were you. Why not put the cgi scripts in the directory that apache normally uses. See the above 'conf' file.
==========================================================<
SET UP HTML DIRECTORY
The script will now create a directory into which the WebMO HTML files will be copied. The directory should meet the following requirements: - Directory is in the server's webspace - The directory is NOT in a cgi-bin directory - You need to have permission to write to this directory - The parent of the specified directory must already exist
Example: /home/smith/public_html/webmo
Directory: /usr/local/lib/webmo
Please enter the URL corresponding to the specified directory. Example: /~smith/webmo
URL: /usr/local/lib/webmo
Again, if you just 'wing it' you're going to have to do some playing with apache configuration.
==========================================================<
SET UP USER DIRECTORY
The script will now create a directory that will be used to store user profiles, passwords, jobs, and other private data. This directory should meet the following requirements: - Directory is NOT in the server's webspace - You need to have permission to write to this directory - The parent of the specified directory must already exists
Example: /home/smith/webmo
Directory: /root/webmo
Don't know the application. THe above may be ok.
The directory you have specified is not world writable. While this is not necessarily a problem, it may be an indication of one. The user directory must be writable by the user under whose identity the WebMO scripts run (usually 'nobody'). Would you like to attempt to make this directory world writable (mode = 0777) now?
Change directory mode [y/n]:y
Don't know what 7.1 apache runs under but in 7.2 and above, it is wwwrun. In any event, making your /root 'world writable' is not a good idea.
==========================================================<
Here are the configuration options that you have chosen Path to perl: /usr/local/bin/perl CGI script directory: /usr/local/lib/webmo CGI script URL: /root/webmo HTML directory: /usr/local/lib/webmo HTML URL: /usr/local/lib/webmo User files directory: /root/webmo
Continue with installation [y/n]:y Setting up CGI scripts...finished Setting up interface files...finished Setting up HTML source files...finished Setting up user directory...finished
Setting up system scratch directory...finished Locating system files...finished Setting up `ps`...PSCHECK will attempt to determine your `ps` version PSCHECK successful finished
==========================================================<
FINISH SETUP
The remainder of the WebMO setup will be done through the WebMO adminstrative tools. The adminstrative tools facilitate configuration of system preferences, configuration of any packages (GAMESS, Gaussian, MOPAC, etc.) adding/editing of users.
Access WebMO with your web browser at the following URL: http://abnormal/root/webmo/login.cgi
Login as the user 'admin' with a blank password. You will be prompted to change your password at that time. After changing the admin password, you will be prompted to register your copy of WebMO. You will then be brought to the administration home page.
Unfortunately, I wasn't sure of just what the setup script was asking for and, obviously, entered the wrong data because when I attempt to use the URL in a browser, Opera for example. I get the message that the 'Requested URL was not found on this server.
If I enter abnormal, the system's name I get the SuSE webserver test page.
I would really like to get WebMO to run as I have two packages for which it would be very handy.
Thanks in advance.
In short, you are tackling a rather complex task without a lot of knowledge of apache and how it runs, IMHO. I think you'd better research apache first and see what it wants for an environment. In addition, I would give 'webmo' a failing grade for selecting defaults. The ones they give don't seem to be too good. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 12/15/01 16:41 + +----------------------------------------------------------------------------+ "Xerox never comes up with anything original."