WebMO - Computational chemistry on the WWW
Recent news

WebMO 18.0 is now available for free download!

WebMO 18.0 Pro and Enterprise have a variety of additional features and is available for purchase.

The WebMO app is now available for iOS and Android.

August 17, 2019

First login as admin fails Log Out | Topics | Search
Moderators | Edit Profile

WebMO Support Forum » WebMO Installation » Running the WebMO Setup Script » First login as admin fails « Previous Next »

Author Message
Artem Masunov
Posted on Friday, December 08, 2000 - 2:03 am:   

I run perl setup script OK, but when i open URL .../cgi-bin/login.cgi as it is suggested, i see the text of login.cgi in my browser window. Attempt to run .../login.html reports: "The requested URL .../(less)!-$url_cgiBase-!(greater)/login.cgi was not found on this server". Any suggestions will be much appreciated.
William Polik (Polik)
Posted on Friday, December 08, 2000 - 1:02 pm:   

Two possibilities come to mind:

1) Is your server set up to run cgi scripts? Have you run other cgi scripts from your account?

2) If you saw the text .../<$url_cgiBase-!>/login.cgi in your browser output, you may have given the installation program unusual values for the directories and URL's. Please view your globals.int file, and let us know what the following lines say:
      userBase=
      htmlBase
      cgiBase
      url_htmlBase
      url_cgiBase

They should look something like:
      userBase="/usr/people/user"
      htmlBase="/usr/people/public_html/source"
      cgiBase="/usr/people/public_html/cgi-bin"
      url_htmlBase="/~webmo/source"
      url_cgiBase="/~webmo/cgi-bin"
Marga Vaessen
Posted on Friday, February 23, 2001 - 7:12 am:   

Dear Sir or Madam!

I get the same error as described above, when I try to open .../login.html . The file globals.int seems to be okay and is placed in the subdirectory cgi-bin/interfaces. But it seems that the parameters are not substituted. Can you tell me what to do? many thanks in advance!

Best regards,

Marga Vaessen
schimdt
Posted on Friday, February 23, 2001 - 8:57 am:   

If the text of your above message is correct, then the problem is that you are opening /login.html rather than /cgi-bin/login.cgi in your browser. When you open the cgi file, the parameters from globals.int should be correctly substituted.
Lee Jee-Young
Posted on Monday, February 26, 2001 - 10:53 am:   

I run perl setup script but failed.
Error message as follows

Syntax error in file setup.pl at line 5, next 2 tokens "local $version "
Syntax error in file setup.pl at line 38, next 2 tokens "local @instances"
Syntax error in file setup.pl at line 69, next 2 tokens "local $trial_license "
Syntax error in file setup.pl at line 84, next 2 tokens "local @checksum"
Syntax error in file setup.pl at line 111, next 2 tokens "local $counter "
Syntax error in file setup.pl at line 122, next 2 tokens "local $choice "
Syntax error in file setup.pl at line 133, next 2 tokens "chomp $perlPath"
Syntax error in file setup.pl at line 147, next 2 tokens "local $temp_host "
Syntax error in file setup.pl at line 154, next 2 tokens "chomp $temp_host"
Syntax error in file setup.pl at line 167, next 2 tokens "local $choice "
setup.pl has too many errors.


what is wrong?
schmidt
Posted on Monday, February 26, 2001 - 11:02 am:   

Make sure that you run the setup script by typing "perl setup.pl". If perl is not in your current path, then you will need to include the full path to perl in the command.
Ilan Bar-On
Posted on Thursday, April 19, 2001 - 4:22 am:   

I encounter the following problem:

I am able to get to the login.cgi screen and contnue to the next screen for chnaging the password.

However, I am not able to pass this point.
The browser reports after some time that my
server is not answering.

I wonder what's the problem here.
William Polik (Polik)
Posted on Tuesday, July 17, 2001 - 11:03 am:   

We have identified that such a problem can occur under certain circumstances, and we have resolved it in WebMO versions 3.0 and higher.

In any case, if one does not get transported automatically to the next screen after changing the admin password, manually type in the url to the ..../login.cgi script and login with the new admin password.
Arnaud Travert
Posted on Monday, July 16, 2001 - 10:27 am:   

Dear Sir or Madam,

When I attempt to run the login.cgi script, I have the following error :

> Server Error
>
> Cannot open user file: Permission denied in line 106 of password.cgi
>
> Please contact webmaster for more information.

could you help me ?

Best regards,

A. Travert
Arnaud Travert
Posted on Tuesday, July 17, 2001 - 9:57 am:   

Sorry for the latter message, the problem was due to the configuration of my web server.

Regards,
A. Travert
William Polik (Polik)
Posted on Tuesday, July 17, 2001 - 10:52 am:   

I'm glad you were able to resolve your problem.

It sounded like a permission problem whereby the webserver process did not have permission to read the file referenced in line 106 of the password.cgi script.

Checking the webserver's error_log is also very useful in diagnosing permission problems.
Andreas Lehmann
Posted on Monday, August 20, 2001 - 4:43 pm:   

Hello,

How to make my server able to run CGI scripts?
When I try to open .../cgi-bin/webmo/login.cgi, I get the following response:

"Netscape's network connection was refused by the server
my_aix_workstation.my_department_domain.my_uni_domain.edu
The server may not be accepting connections or may be busy. Try connecting again later."

I work on a AIX workstation and I have SU status. I'd like to set up WEBMO in such a way that all users on my machine can use WEBMO.

Thanks a lot,
Andreas

PS: The workstation is new and does not have a departmental DNS entry yet. Can that be related to the problem or do I have to make other provisions in order to run CGI scripts?
schmidt
Posted on Friday, August 31, 2001 - 10:48 am:   

The problem you are experiencing is certainly related to the configuration of your AIX machine. Unfortunately, it is difficult to be to specific. If the "network connection was refused", it sounds like the problem is related to your web server in general, and not to just the running of cgi-scripts.

Can you access the web server at all? Try pointing your browser at http://my_aix_workstation.my_department_domain.my_uni_domain.edu. If you have no DNS entry, it may be necessary to use the IP address here. If this fails, then you must correctly install/configure/activate the web server on this machine.

Sorry I can't be more specific.
Kris
Posted on Thursday, August 08, 2002 - 11:11 am:   

I've installed Webmo ( I believe successfully ) and have some problems. When I open the login.cgi script I just see the text for the script. How do I check if I am able to run cgi scripts? Also, when I open login.html it works. I enter admin and then hit enter. It then goes to a blank screen. What's happening. Last question. If I enter the numeric IP for my computer, will this be ok?
schmidt
Posted on Thursday, August 08, 2002 - 12:00 pm:   

Based on the information you provided, your server is probably not set up to execute cgi scripts. Script execution must be enabled on a directory-by-directory basis. If you are running Apache, information on how to set up Apache for cgi-script execution can be found at the following url:

https://www.webmo.net/support/linux72.html#apache_conf

When you access your WebMO installation, you must always do so through the login.cgi script. The .html files are simply templates that are utilized by the cgi-scripts.

Finally, accessing your WebMO installation using the numeric IP address for your computer is fine, so long as you specified the numeric IP address of your system during installation. In fact, this may be necessary if you do not have a DNS entry for the PC.
Steffen Thomas
Posted on Monday, January 03, 2005 - 8:31 am:   

Hallo,

i have a similar problem. I have installed webmo on a irix 6.5 maschin.
When i go to the first login Screen i can enter admin and send this. But i will retrieve a network error instead the next screen for changing thew admin password. I can't find something in the error file. But i use the netscape fasttrack server.
you can see the problem here:
http://www.chem.uni-potsdam.de/~thomas/cgi-bin/webmo/login.cgi

Many thanks for your help
schmidt
Posted on Monday, January 03, 2005 - 11:30 am:   

This problem is unreleated to the above. Your particular problem occurs because your server has IP address resolves to multiple hostnames.

You simply need to make a simple change to your WebMO configuration file. Open the file 'globals.int' in 'interfaces' subdirectory of your WebMO cgi-bin directory. Change the value associated with the variable 'webserver' to 'www.chem.uni-potsdam.de' and you should be in buisiness.
girlando
Posted on Thursday, December 01, 2005 - 3:08 am:   

I had webmo installed since several years. I upgraded to mandriva 2006 (from mandriva le2005) and webmo stopped working, givin the following essage at login:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

Since the computer was old and slow in any case, I did not thinker with it, but I tried a new webmo installation on another computer. Everything went smootly, the installation script tested OK the installation, but the problem remained.
During installation of apache perl modules, I got the following message:
MOD_PERL 2.0.0
--------------

Your code won't run anymore? Yep, the API changed drastically since
2.0.0-RC6. More info here:

http://perl.apache.org/docs/2.0/rename.html
http://marc.theaimsgroup.com/?t=111135037100002&r=1&w=2

but I am unable to understand !
Guest
Unregistered guest
Posted on Wednesday, August 08, 2007 - 3:09 am:   

Hello,
I've installed Webmo ( I believe successfully ) and have some problems. When I try to open .../cgi-bin/webmo/login.cgi, I get the following response,

ERROR
The requested URL could not be retrieved

-------------------------------------------------

While trying to process the request:

GET /cgi-bin/webmo/login.cgi HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: localhost
Via: 1.0 proxy5:80 (squid/2.6.STABLE14)
X-Forwarded-For: 10.5.51.167
Cache-Control: max-age=259200
Connection: keep-alive

The following error was encountered:

Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:

Missing or unknown request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
Content-Length missing for POST or PUT requests
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
Allbright
Unregistered guest
Posted on Thursday, July 17, 2008 - 11:09 am:   

Hi,
I have installed Webmo successful in suse 10.1.But when i copy and past the URL into the web adress bar;it gives me the messages:While trying to retrieve the URL: http://gkrg.ccg/fkt/Desktop/webmo_linux/cg/login.cgi

The following error was encountered:

Unable to determine IP address from host name for gkrg.ccg

The dnsserver returned:

Name Error: The domain name does not exist.

This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
=====so i tried to reinstalled it again and again;the final message is as indicated above.SO i though i might make any mistake in step no6 on 'instructions how to install webmo'.Anothe suggestion,am i supposed to use 'webmo.net'as URL?OR should it be the hostname of the computer?THough itried in both,but failed..SO i am really desperate and need help.I am also a newbie.Any help.Much appreciated,thanks
Allbright
Unregistered guest
Posted on Thursday, July 17, 2008 - 11:11 am:   

Hi,
I have installed Webmo successful in suse 10.1.But when i copy and past the URL into the web adress bar;it gives me the messages:While trying to retrieve the URL: http://gkrg.ccg/fkt/Desktop/webmo_linux/cg/login.cgi(generated url after successfully installed)

The following error was encountered:

Unable to determine IP address from host name for gkrg.ccg

The dnsserver returned:

Name Error: The domain name does not exist.

This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
=====so i tried to reinstalled it again and again;the final message is as indicated above.SO i though i might make any mistake in step no6 on 'instructions how to install webmo'.Anothe suggestion,am i supposed to use 'webmo.net'as URL?OR should it be the hostname of the computer?THough itried in both,but failed..SO i am really desperate and need help.I am also a newbie.Any help.Much appreciated,thanks
Allbright
Unregistered guest
Posted on Thursday, July 17, 2008 - 11:25 am:   

furthermore,here is what i have followd and end up to install it.SO if you could check for me if there are any mistakes along the way.

fkt@GKRG:~/Desktop/webmo_linux/WebMO.install> perl setup.pl

WELCOME TO WEBMO VERSION 8.0.011 SETUP

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, or
this script can automatically obtain one for you now.

Have you previously obtained a WebMO license number [y/n]:y
License number:****-****-****-****
>==========================================================<

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) [Select a different Perl]

Please choose which Perl to use by entering a number from 1 to 2.

Your choice [1-2]: 1
Enter path to perl: /usr/bin/perl
>==========================================================<

SET UP WEBSERVER NAME

The script has determined that the webserver name of this computer
to be:

GKRG.CCG

IMPORTANT: This must represent the correct FULLY QUALIFIED webserver name
(computer.domain.edu) for this computer.

Is this webserver name fully qualified and correct [y/n]:Y
Webserver name: GKRG.CCG
>==========================================================<

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/fkt/public_html/webmo

Directory: /home/fkt/Desktop/webmo_linux

Please enter the URL corresponding to the specified directory.
Example: /~fkt/webmo

URL: ftp
Your url specification must start with a / character
as it must be an absolute path.
URL: /Desktop/webmo_linux
>==========================================================<

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/fkt/public_html/cgi-bin/webmo

Directory: /home/fkt/Desktop/webmo_linux/cg
Your directory specification must start with a / character
as it must be an absolute directory. You cannot use ~ to
indicate your home directory, nor . to use a relative
directory.
Directory: /home/fkt/Desktop/webmo_linux/cg
Your directory specification must start with a / character
as it must be an absolute directory. You cannot use ~ to
indicate your home directory, nor . to use a relative
directory.
Directory: /home/fkt/Desktop/webmo_linux/cg/
Your directory specification must start with a / character
as it must be an absolute directory. You cannot use ~ to
indicate your home directory, nor . to use a relative
directory.
Directory: /home/fkt/Desktop/webmo_linux/cg
Your directory specification must start with a / character
as it must be an absolute directory. You cannot use ~ to
indicate your home directory, nor . to use a relative
directory.
Directory: /home/fkt/Desktop/webmo_linux/cg

Please enter the URL corresponding to the specified directory.
Example: /~fkt/cgi-bin/webmo

URL: /fkt/Desktop/webmo_linux/cg
>==========================================================<

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/fkt/webmo

Directory: /home/fkt/Desktop/webmo_linux/user

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
>==========================================================<

Here are the configuration options that you have chosen
License number: ****-****-****-****
Path to perl: /usr/bin/perl
Webserver name: GKRG.CCG
HTML directory: /home/fkt/Desktop/webmo_linux
HTML URL: /Desktop/webmo_linux
CGI script directory: /home/fkt/Desktop/webmo_linux/cg
CGI script URL: /fkt/Desktop/webmo_linux/cg
User files directory: /home/fkt/Desktop/webmo_linux/user

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
Running diagnostic tests...finished
>==========================================================<

FINISH SETUP

The remainder of the WebMO setup will be done through the WebMO
administrative tools. The administrative tools facilitate configuration
of system preferences, configuration of any packages (GAMESS, Gaussian,
MOPAC, MolPro, NWChem, QChem, Tinker, etc.) adding/editing of users.

Access WebMO with your web browser at the following URL:
http://GKRG.CCG/fkt/Desktop/webmo_linux/cg/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.

Enter to continue
Click on the 'System Manager' and check the location of the scratch
directory, which you may change if desired. Click 'Return to Admin'
to return to the administration home page.

Click on the 'Interface Manager' and enable the interfaces to any
computational chemistry packages that you have already installed on your
system by clicking the corresponding 'Enable interface' icon.
Configure the interfaces by clicking the 'Edit interface' icon, and make any
neccessary changes in the interface configuration, and then click 'Submit'
to commit the changes and 'Return' to get back to the Interface Manager.
Click 'Return to Admin' to return to the administration home page.

Click on the 'User Manager' and then the 'New User' button to create WebMO
users. Click 'Return to User Manager' to return to the user manager.
Click 'Return to Admin' to return to the administration home page.

Setup is now complete. Click the 'Logout' button to logout of WebMO.
You may now login as a WebMO user and run a test job.
------after this all processes,i just copy the URL:http://GKRG.CCG/fkt/Desktop/webmo_linux/cg/login.cgi
..AND PASTE ON THE WEB TOOLBAR..BUT THE MESSGAE IS AS I INDICATED ON MY EARLIER POST I.E While trying to retrieve the URL: http://gkrg.ccg/fkt/Desktop/webmo_linux/cg/login.cgi

The following error was encountered:

Unable to determine IP address from host name for gkrg.ccg

The dnsserver returned:

Name Error: The domain name does not exist.

This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
--DESPERATE TO HEAR FROM YOU.tHNKS IN ADVANCE.

ALLBRIGHT
Allbright
Unregistered guest
Posted on Thursday, July 17, 2008 - 11:55 am:   

but i checked all my hostname and domain by entering the commands:
fkt@GKRG:~> uname -n
GKRG
fkt@GKRG:~> hostname -a
GKRG
fkt@GKRG:~> hostname -s
GKRG
fkt@GKRG:~> hostname -d
CCG
fkt@GKRG:~> hostname -f
GKRG.CCG
fkt@GKRG:~> hostname
GKRG
fkt@GKRG:~> hostname -i
127.0.0.4
all was fine
.Beyond this i cannt go so i need yr help.
JR Schmidt
Moderator
Username: Schmidt

Post Number: 45
Registered: 11-2006
Posted on Thursday, July 17, 2008 - 12:51 pm:   

Add an entry in your /etc/hosts file for gkrg.ccg corresponding to your IP address, otherwise Apache does not know what IP address to use.

Alternative, use hostname 'localhost' instead of gkrg.ccg int the URL.

You may need to configure Apache to allow CGI scripts to run as well.
Vijay Tak
Unregistered guest
Posted on Friday, December 12, 2008 - 1:26 am:   

I run perl setup script OK, but when i open URL .../cgi-bin/login.cgi as it is suggested, the following ERROR is displayed
"The requested URL could not be retrieved

While trying to retrieve the URL: vertox_inet

The following error was encountered:
Request Timeout
The system returned:
A Timeout occurred while waiting to read data from the network. The network or server may be down or congested. Please retry your request
". Any suggestions will be much appreciated
pateld37
Unregistered guest
Posted on Sunday, December 01, 2013 - 3:19 pm:   

Hi! I forgot my password of Webmo login. How can I get new password?

Regards,
Dhara Patel
amasunov
Unregistered guest
Posted on Wednesday, February 19, 2014 - 3:48 pm:   

I installed WebMO on NERSC, and when I am trying to login as admin for the firts time. The script login.cgi gives me an error:

Software error:

Invalid filehandle errorLog
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.

Software error:

[Wed Feb 19 12:40:54 2014] login.cgi: Invalid filehandle errorLog
Compilation failed in require at /project/projectdirs/m1019/www/cgi-bin/webmo/login.cgi line 17.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
JR Schmidt
Moderator
Username: Schmidt

Post Number: 389
Registered: 11-2006
Posted on Wednesday, February 19, 2014 - 8:47 pm:   

This error implies that WebMO cannot write to the directory containing the error log (e.g. the webmo "user" directory chosen at runtime).

I'm not quite sure who this setup would work on NERSC, given that you probably don't have root access nor do they likely have HTTP installed / enabled. If you installed HTTP, check that the user that the httpd daemon is running can write to that directory.
Michael
Unregistered guest
Posted on Monday, September 01, 2014 - 4:54 pm:   

I've installed WebMO and I'm getting the same (excluding the path) error message. I've gone through the conf file for my apache server and globals.int for WebMO to make sure all of the paths are correct. I cannot see an issue with WebMO writing to the directory containing the error log. How can I fix this or what should I check next? Thanks!

Software error:
Invalid filehandle errorLog

For help, please send mail to the webmaster (postmaster@localhost), giving this error message and the time and date of the error.

Software error:
[Mon Sep 1 13:34:58 2014] login.cgi: Invalid filehandle errorLog
Compilation failed in require at C:/xampp/cgi-bin/webmo/login.cgi line 17.

For help, please send mail to the webmaster (postmaster@localhost), giving this error message and the time and date of the error.
JR Schmidt
Moderator
Username: Schmidt

Post Number: 411
Registered: 11-2006
Posted on Tuesday, September 02, 2014 - 11:25 am:   

Based on your error message, it appears you are running on Windows. What Windows version are you running?
Michael
Unregistered guest
Posted on Tuesday, September 02, 2014 - 11:47 pm:   

Windows 7.

I found the script that, in this instance, writes to the "errorLog" file; I manually wrote in the full path (instead of using the $userBase variable), but it still produced a fatal error.
Michael
Unregistered guest
Posted on Tuesday, September 02, 2014 - 11:54 pm:   

The comment preceding the block of script reads:

#modified to 'gracefully' handle lack of CGI.pm (on the computational servers only)

The perltest.cgi file in the cgi-bin directory works fine when I try that...
JR Schmidt
Moderator
Username: Schmidt

Post Number: 414
Registered: 11-2006
Posted on Wednesday, September 03, 2014 - 10:45 am:   

Which version of the Apache webserver are you running? It appears that with whatever setup you have going, Apache does not have proper permissions to write to the C:/Program Files/WebMO.
William Tang
Unregistered guest
Posted on Wednesday, April 01, 2015 - 10:35 am:   

Dear Sir/Madam,

I failed to run login.cgi from my browser (Safari), with error message 'The requested URL /~williamtang/cgi-bin/webmo/login.cgi was not found on this server.'

System: Mac OS 10.10

Setup Progress:

WELCOME TO WEBMO VERSION 15.0.003 SETUP

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, or
this script can automatically obtain one for you now.

Have you previously obtained a WebMO license number [y/n]:y
License number: 1407-2804-7079
>==========================================================<

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) [Select a different Perl]

Please choose which Perl to use by entering a number from 1 to 2.

Your choice [1-2]: 1
>==========================================================<

SET UP WEBSERVER NAME

The script has determined that the webserver name of this computer
to be:

tangdd.local

IMPORTANT: This must represent the correct FULLY QUALIFIED webserver name
(computer.domain.edu) for this computer.

Is this webserver name fully qualified and correct [y/n]:n
Webserver name: localhost
>==========================================================<

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: /Users/williamtang/Sites/webmo

Directory: /Users/williamtang/Sites/webmo

Please enter the URL corresponding to the specified directory.
Example: /~williamtang/webmo

URL: /~williamtang/webmo
>==========================================================<

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: /Users/williamtang/Sites/cgi-bin/webmo

Directory: /Users/williamtang/Sites/cgi-bin/webmo

Please enter the URL corresponding to the specified directory.
Example: /~williamtang/cgi-bin/webmo

URL: /~williamtang/cgi-bin/webmo
>==========================================================<

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: /Users/williamtang/webmo

Directory: /Users/williamtang/webmo
That directory does not exist.
Create directory [y/n]:y
>==========================================================<

Here are the configuration options that you have chosen
License number: 1407-2804-7079
Path to perl: /usr/bin/perl
Webserver name: localhost
HTML directory: /Users/williamtang/Sites/webmo
HTML URL: /~williamtang/webmo
CGI script directory: /Users/williamtang/Sites/cgi-bin/webmo
CGI script URL: /~williamtang/cgi-bin/webmo
User files directory: /Users/williamtang/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
Running diagnostic tests...finished
>==========================================================<

FINISH SETUP

The remainder of the WebMO setup will be done through the WebMO
administrative tools. The administrative tools facilitate configuration
of system preferences, configuration of any packages (GAMESS, Gaussian,
MOPAC, MolPro, NWChem, Firefly, PQS, PSI4, QChem, Tinker, Quantum Espresso,
VASP, etc.) and adding/editing of users.

Access WebMO with your web browser at the following URL:
http://localhost/~williamtang/cgi-bin/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.

Enter to continue

And here's my .conf file (located:/etc/apache2/users/williamtang.conf):

<directory>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</directory>
ScriptAlias /~williamtang/cgi-bin/ /Users/williamtang/Sites/cgi-bin/
JR Schmidt
Moderator
Username: Schmidt

Post Number: 452
Registered: 11-2006
Posted on Wednesday, April 01, 2015 - 11:26 am:   

William,

Please see:

https://www.webmo.net/support/installation_osx.html

Your Apache configuration is not quite correct, as detailed in the above link
William Tang
Unregistered guest
Posted on Thursday, April 02, 2015 - 3:35 am:   

Hello again,

By modifying httpd.conf, I finally ran login.cgi, but I cannot see any pictures or javascript, only the texts. Can you help me?
JR Schmidt
Moderator
Username: Schmidt

Post Number: 453
Registered: 11-2006
Posted on Thursday, April 02, 2015 - 10:17 am:   

Please email your diagnose.html (generated by the diagnose.pl script) to support@webmo.net, and I will take a look.
Will Medlin
Unregistered guest
Posted on Wednesday, December 02, 2015 - 12:51 am:   

I'm having the same issue as William Tang in his original message above (unable to execute the .cgi file). In my case, during the steps on the website everything worked fine except with the following command:
sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false

which generates the following message:
Could not write domain /System/Library/LaunchDaemons/org.apache.httpd; exiting

Everything after that seems to go fine until I try to open the login.cgi file. Not sure if this is the problem, or if it's something else. (I double-checked, and the appropriate lines seem to be de-commented in the various configuration files. FWIW, here is my will.conf file:

<directory>
AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</directory>
ScriptAlias /~will/cgi-bin/ "/Users/will/Sites/cgi-bin/"

Thanks!
Tim
Unregistered guest
Posted on Monday, February 12, 2018 - 7:35 pm:   

I found my old installation file for webMO 16. I could not find the path the the globals.int file, so I decided to delete and re-install webMO 16. I can now log into webmo as an administrator with a blank password, but when I try to enter a password in setup, Safari says:

The requested URL /admin.cgi was not found on this server.

I can see admin.cgi right there in Sites/cgi-bin/webmo/admin.cgi (!)

My globals.int file is shown below. Is anything amiss there?

catPath="/bin/cat"
cgiBase="/Users/Tim/Sites/cgi-bin/webmo"
chmodPath="/bin/chmod"
chownPath="/usr/sbin/chown"
cpOptions="-r"
cpPath="/bin/cp"
curlOptions="-s -o"
curlPath="/usr/bin/curl"
externalAuthentication=""
externalBatchQueue=""
host="localhost"
htmlBase="/Users/Tim/Sites/webmo"
killPath="/bin/kill"
license="1409-0405-2483"
loginMsg=""
loginMsgTimestamp=""
mkdirPath="/bin/mkdir"
mvPath="/bin/mv"
ncores="1"
owner="Computational Chemistry on the WWW"
perlPath="/usr/bin/perl"
psOptions="-ef"
psPath="/bin/ps"
psRegExp="(\$pid, \$ppid, \$cpu_time) = /.{5}(.{6})(.{6}).{4}.{8}.{8}(.{11}).*/"
rcpPath=""
rmOptions="-rf"
rmPath="/bin/rm"
rshPath=""
scpOptions=""
scpPath="/usr/bin/scp"
sendmailOptions="-t"
sendmailPath="/usr/sbin/sendmail"
servers="localhost,0"
sshOptions=""
sshPath="/usr/bin/ssh"
sudoEnabled=""
sudoPath="/usr/bin/sudo"
systemScratch="/tmp"
tarOptions="cf"
tarPath="/usr/bin/tar"
unamePath="/usr/bin/uname"
uniqueId="84064"
unzipPath="/usr/bin/unzip"
url_cgiBase="/~Tim/cgi-bin/webmo"
url_htmlBase="/~Tim/webmo"
userBase="/Users/Tim/webmo"
userStorageEnabled=""
version="16.0.003"
webserver="autodetect"
webserverProtocol="autodetect"
wgetOptions="-q -O"
wgetPath=""
whereisPath="/usr/bin/whereis"
zcatPath="/usr/bin/zcat"
zipOptions="-r -q"
zipPath="/usr/bin/zip"
Tim
Unregistered guest
Posted on Monday, February 12, 2018 - 9:02 pm:   

The problem is solved, I think.

I don't know how, but the second time around it didn't hang up. I did not reinstall, I just tried logging in again as admin, and it acted normally.
charliep
Unregistered guest
Posted on Sunday, March 04, 2018 - 4:14 pm:   

My first login with admin and a blank password fails. I can't find any errors in either the webmo error log or the webserver error log. Any suggestions?

thanks,
charlie peck
JR Schmidt
Moderator
Username: Schmidt

Post Number: 605
Registered: 11-2006
Posted on Sunday, March 04, 2018 - 6:42 pm:   

You just did a clean install and cannot log in with username 'admin' and a blank password? Very odd. There is a reset_password.pl script located in the WebMO.install/scripts directory you could try.
charliep
Unregistered guest
Posted on Monday, March 05, 2018 - 5:40 am:   

Cockpit error, I didn't realize a student had already installed WebMO in a different place.

Add Your Message Here
Post:
Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration