[Fedora-commons-users] postgres error while installing fedora on windows

0 views
Skip to first unread message

Sunita Barve

unread,
Jun 22, 2007, 6:12:22 AM6/22/07
to fedora-com...@lists.sourceforge.net

Dear all,

I am trying to install fedora on windows xp. I am giving herewith full
installation copy.

Can anyone let me know how to get fedora installed on postgresql.

thanking you,

Sunita Barve
Library-In-Charge
National Centre for Radio Astrophysics
PO Box 3, Pune Univ. Campus
Pune 411 007, INDIA
Phone : 91-020-25697107 ; 25691384 ; 25691385
91-020-24270027 (Res.) ; 9823975237 (Mob)
Email : sun...@ncra.tifr.res.in ; sunit...@gmail.com


Here is the copy of installation:

***********************
Fedora Installation
***********************

To install Fedora, please answer the following questions.
Enter CANCEL at any time to abort the installation.
Detailed installation instructions are available at:
http://www.fedora.info/download/

Installation type
-----------------
The 'quick' install is designed to get you up and running with Fedora
as quickly and easily as possible. It will install Tomcat and an
embedded version of the McKoi database. SSL support and XACML policy
enforcement will be disabled.
For more options, including the choice of hostname, ports, security,
and databases, select 'custom'.
To install only the Fedora client software, enter 'client'.

Options : quick, custom, client

Enter a value ==> custom


Fedora home directory
---------------------
This is the base directory for Fedora scripts, configuration files, etc.
Enter the full path where you want to install these files.


Enter a value [default is D:\fedora2.2] ==>


Fedora administrator password
-----------------------------
Enter the password to use for the Fedora administrator (fedoraAdmin)
account.

Enter a value ==> fedoraAdmin


Fedora server host
------------------
The host Fedora will be running on.
If a hostname (e.g. www.example.com) is supplied, a lookup will be
performed and the IP address of the host (not the host name) will be used
in the default Fedora XACML policies.


Enter a value [default is localhost] ==>


Authentication requirement for API-A
------------------------------------
Fedora's management (API-M) interface always requires user authentication.
Require user authentication for Fedora's access (API-A) interface?

Options : true, false

Enter a value [default is false] ==>


SSL availability
----------------
Should Fedora be available via SSL? Note: this does not preclude
regular HTTP access; it just indicates that it should be possible for
Fedora to be accessed over SSL.

Options : true, false

Enter a value [default is true] ==>


SSL required for API-A
----------------------
Should API-A be accessible exclusively via SSL? If true, requests
to access API-A URLs will be automatically redirected to the secure port.

Options : true, false

Enter a value [default is false] ==>


SSL required for API-M
----------------------
Should API-M be accessible exclusively via SSL? If true, requests
to access API-M URLs will be automatically redirected to the secure port.

Options : true, false

Enter a value [default is true] ==>


Servlet engine
--------------
Which servlet engine will Fedora be running in?
Enter 'included' to use the bundled Tomcat 5.0.28 server.
To use your own, existing installation of Tomcat, enter 'existingTomcat'.
Enter 'other' to use a different servlet container.

Options : included, existingTomcat, other

Enter a value [default is included] ==>


Tomcat home directory
---------------------
Please provide the full path to your existing Tomcat installation, or
the path where you plan to install the bundled Tomcat.


Enter a value [default is C:\Program Files\Apache Software
Foundation\Tomcat 6.0] ==>


Tomcat HTTP port
----------------
Which HTTP port (non-SSL) should Tomcat listen on? This can be changed
later in Tomcat's server.xml file.


Enter a value [default is 8080] ==> 7080


Tomcat shutdown port
--------------------
Which port should Tomcat use for shutting down? Make sure this doesn't
conflict with an existing service. This can be changed later in Tomcat's
server.xml file.


Enter a value [default is 8005] ==> 7005


Tomcat Secure HTTP port
-----------------------
Which port (SSL) should Tomcat listen on? This can be changed
later in Tomcat's server.xml file.


Enter a value [default is 8443] ==> 7443


Keystore file
-------------
For SSL support, Tomcat requires a keystore file.
If the keystore file is located in the default location expected by
Tomcat (a file named .keystore in the user home directory under which
Tomcat is running), enter 'default'.
Otherwise, please enter the full path to your keystore file, or, enter
'included' to use the the sample, self-signed certificate) provided by
the installer.
For more information about the keystore file, please consult:
http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html.

Enter a value ==> default


Keystore password
-----------------
Enter the password for your keystore.


Enter a value [default is changeit] ==>


Keystore type
-------------
Enter the format of your keystore.
The JKS format is Java's standard "Java KeyStore" format, and is the
format created by the keytool command-line utility.
The PKCS12 format is an internet standard, and can be manipulated via
(among other things) OpenSSL and Microsoft's Key-Manager.
For more information about keystore formats, please consult:
http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html.

Options : JKS, PKCS12

Enter a value [default is JKS] ==>


Policy enforcement enabled
--------------------------
Should XACML policy enforcement be enabled? Note: This will put a set of
default security policies in play for your Fedora server.

Options : true, false

Enter a value [default is true] ==>


Database
--------
Please select the database you will be using with
Fedora. The supported databases are McKoi, MySQL, Oracle and Postgres.
If you do not have a database ready for use by Fedora or would prefer to
use the embedded version of McKoi bundled with Fedora, enter 'included'.

Options : mckoi, mysql, oracle, postgresql, included

Enter a value ==> postgresql


Postgresql JDBC driver
----------------------
You may either use the included JDBC driver or your own copy.
Enter 'included' to use the included JDBC driver, or, enter the location
(full path) of the driver.


Enter a value [default is included] ==> C:\Program
Files\PostgreSQL\8.2\jdbc


Database username
-----------------
Enter the database username Fedora will use to connect to the Fedora
database.

Enter a value ==> fedoraAdmin


Database password
-----------------
Enter the database password Fedora will use to connect to the Fedora
database.

Enter a value ==> fedoraAdmin


JDBC URL
--------
Please enter the JDBC URL.


Enter a value [default is jdbc:postgresql://localhost/fedora22] ==>


JDBC DriverClass
----------------
Please enter the JDBC driver class.


Enter a value [default is org.postgresql.Driver] ==>


java.lang.ClassNotFoundException: org.postgresql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at fedora.utilities.DriverShim.loadAndRegister(DriverShim.java:55)
at fedora.utilities.DriverShim.loadAndRegister(DriverShim.java:49)
at
fedora.utilities.install.InstallOptions.validateDatabaseConnection(InstallOptions.java:413)
at
fedora.utilities.install.InstallOptions.<init>(InstallOptions.java:190)
at fedora.utilities.install.Installer.main(Installer.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.simontuffs.onejar.Boot.run(Boot.java:246)
at com.simontuffs.onejar.Boot.main(Boot.java:105)
Postgresql JDBC driver
----------------------
You may either use the included JDBC driver or your own copy.
Enter 'included' to use the included JDBC driver, or, enter the location
(full path) of the driver.


Enter a value [default is included] ==>



Christiaan Kortekaas

unread,
Jun 24, 2007, 6:09:50 PM6/24/07
to Sunita Barve, fedora-com...@lists.sourceforge.net
Hi Sunita

This wiki guide shows you how to work around the Fedora 2.2 PostgreSQL
install bug:
http://dev-repo.library.uq.edu.au/wiki/index.php/Example_Install_Fez_1.3_and
_Fedora_2.2_on_Kubuntu_linux_6.10_Edgy

Cheers,
Christiaan
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-com...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christiaan Kortekaas
Senior Library Open Sorcerer
Library Technology Service
The University of Queensland, Australia QLD 4072
Telephone : (+61) (7) 3346 4337
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Reply all
Reply to author
Forward
0 new messages