Platform: i586, RedHat Linux 7.0, no patches
installed.
Apache, running ssl. Tested and working.
java and javac are active.
install.sh reports:
<<<NOTE THE ERROR:
/etc/httpd/conf/jserv/jserv.conf: No such file or
directory
THIS FILE DOES EXIST AND I PATCHED IT MANUALLY EFORE
RUNNING webmail.sh.
===============================================================================
= Welcome to the JWebMail JServ installation
tool =
= (c)2000 Sebastian
Schaffert
=
=
=
= This software is distributed under the terms of the
GNU general public =
= license (GPL). You have received a copy of it in the
file COPYING =
===============================================================================
This program will help you to setup your JServ
configuration in order to run
JWebMail.
For this to work you will need to have:
- a running Apache installation
- a JDK that can be found in the PATH
- a running installation of Apache JServ
If you are missing one of these, please see the
README.* files where to obtain
them.
Press <ENTER>
The installation script will now ask you some questions
about your system
configuration. The default settings are guessed from a
set of common settings
and will probably be ok for most users.
Press <ENTER>
===============================================================================
Next we want to know where you want to install WebMail.
Usually this will
be the current directory or /usr/lib/webmail-VERSION.
You will have to have a
copy of the distribution at the new location if you
specify a different path
than the one that is guessed here!
You will now have to configure a JServ mountpoint for
WebMail. A mountpoint is
a virtual subdirectory beneath your Apache root that
will be used in URLs to
call the servlet.
Note: It is not possible to specify "/" as mountpoint!
It is probably reasonable to leave this to "/webmail".
Now you should select a short name for the WebMail
servlet. This is the name
below the mountpoint that will be used to call WebMail,
i.e.
http://yourhost/mountpoint/servletname .
Usually the default of "webmail" will be fine.
First we need to know where your httpd.conf is located.
The installation script
will use this information to determine where your jserv
configuration files are
located.
First we will try to use the Apache apxs tool to
determine the path to the
configuration file.
If this fails (apxs does not exist), a list of default
values is tested and the
first match is chosen.
You will then get the chance to modify the
automatically guessed values.
/usr/sbin/apxs
APXS found. Will use it to query httpd.conf
Next we will try to find your JServ configuration files
and see whether Apache
is configured to run JServ.
- Apache is configured to run ApacheJServ. Good.
Path to jserv.conf [
/etc/httpd/conf/jserv/jserv.conf]?
- jserv.properties found. Good.
Path to jserv.properties
[/etc/httpd/conf/jserv/jserv.properties]?
===============================================================================
Summary:
WebMail version: 0.7.6
Path to WebMail: /usr/lib/webmail-0.7.6
WebMail Servlet at URL:
http://linux.jb00.com/webmail/webmail
Path to httpd.conf: /etc/httpd/conf/httpd.conf
Path to jserv.conf:
/etc/httpd/conf/jserv/jserv.conf
Path to jserv.properties:
/etc/httpd/conf/jserv/jserv.properties
Press <ENTER> to confirm.
===============================================================================
The installation script will now generate a servlet
properties file for WebMail
using the values that you specified.
Properties file:
/usr/lib/webmail-0.7.6/webmail-servlet.properties
Press <ENTER> when you are ready.
Generating
/usr/lib/webmail-0.7.6/webmail-servlet.properties ...
===============================================================================
The mountpoint specified before will now be added to
the jserv.conf file.
JServ file: /etc/httpd/conf/jserv/jserv.conf
Press <ENTER> when you are ready.
Patching /etc/httpd/conf/jserv/jserv.conf ...
There is an existing mountpoint for WebMail. Shall I
comment it out in favor of
the new mountpoint (recommended!) [Y/n]?
Commenting out old entry ...
Adding new entry to
/etc/httpd/conf/jserv/jserv.conf ...
./install.sh: /etc/httpd/conf/jserv/jserv.conf:
No such file or directory
./install.sh: /etc/httpd/conf/jserv/jserv.conf:
No such file or directory
===============================================================================
Now the configuration directives for WebMail will be
added to the JServ
properties file.
Properties file: /etc/httpd/conf/jserv/jserv.properties
Press <ENTER> when you are ready.
Patching /etc/httpd/conf/jserv/jserv.properties ...
There is an existing properties entry for WebMail.
Shall I comment it out in
favor of the new entry (recommended!) [Y/n]?
Commenting out old entry ...
Adding new entry to
/etc/httpd/conf/jserv/jserv.properties ...
WebMail Zone entry already exists.
==============================================================================
The install script will now set the permissions of the
WebMail data directory
to the correct values so that WebMail can read/write
its configuration files.
User: apache
Group: apache
Press <ENTER> to continue.
Executing chown -R apache:apache
/usr/lib/webmail-0.7.6/data
Executing chmod 0700 /usr/lib/webmail-0.7.6/data
Executing chmod -R 0600 /usr/lib/webmail-0.7.6/data/*
chmod: /usr/lib/webmail-0.7.6/data/localnet: No such
file or directory
===============================================================================
WebMail installation has now finished.
First you should restart your Apache webserver by
either using
"apachectl restart" or calling the appropriate init
script.
Then you should point your browser to
http://linux.jb00.com/webmail/webmail/admin
and configure the WebMail settings according to your
needs.
Hint: The default administrator password is "Secret"!
Thank you for using WebMail and OpenSource software.
[root@linux bin]#
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
webmail.sh reports:
WebMail/Java Server v0.7.6 going up...
=====================================
Initalizing...
- Checking Java Virtual Machine ...
* Version: 1.2.2 ... ok.
* Operating System: Linux/i386 2.2.16-22 ... ok.
* User name: root ... warning. You are running
WebMail as root. This may be a potential security
problem.
* WebMail System Properties: ok!
* Setting DTD-path in webmail.xml ... done!
- Configuration Scheme Handler ... done!
- Initializing WebMail Authenticator Plugins ...
* registered authenticator plugin "IMAPAuthenticator"
* registered authenticator plugin "OTPAuthenticator"
* registered authenticator plugin "POPAuthenticator"
* registered authenticator plugin
"SimpleAuthenticator"
* registered authenticator plugin "UnixAuthenticator"
done!
- Storage API
(net.wastl.webmail.storage.simple.SimpleStorage) and
Configuration ...
* Configuration ... LOG(10): SimpleStorage: WebMail
configuration loaded.
Configuration file parsed, document: [#document: null]
successfully parsed XML configuration file.
* Logfile ... initalization complete:
/usr/lib/webmail-0.7.6/data/webmail.log, Level 5
* MIME types ... loaded from
/usr/lib/webmail-0.7.6/lib/mime.types.
* Authenticator ... ok. Using IMAPAuthenticator
(v1.2) for authentication.
* Available languages ... using disk cache ... 39
languages initialized.
- Configuration changed:
- Configuration changed:
- Configuration changed:
- Configuration changed:
- Configuration changed:
done!
- Initializing WebMail URL Handler ... done.
- Initializing WebMail Plugins ...
* loading: 20 plugins loaded correctly.
* initializing: plugins initialized.
- Mail providers:
* pop3 from Sun Microsy stems, Inc
* imap from Sun Microsystems, Inc
* smtp from Sun Microsystems, Inc
- HTTP Server ... initialization complete. Listening on
port 6789.
- SSL Server ... initialization failed! (no itissl in
java.library.path)
Initalization complete.
<<<HANGS AT THIS POINT>>>>
I have checked the ssl and I am able to connect to the
server in secure mode. The mount point is
/usr/lib/webmail-0.7.6 and all installation was done as
root.
Can you please give me some pointers as to hwere I can
look to fix this problem. I seem so close, but no
cigar.
Logged In: YES
user_id=620875
A new release is available. Please download it and try it to see if it
fixes the problem that you have reported. Thanks!