starting WiKID ...

27 messages Options
Embed this post
Permalink
1 2
daposalami

starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Hi,

Got the following error while starting the WiKID Community Edition:

[root@server2 bin]# wikid_start
Starting database...Success!
Success!
Success!
Starting Logger service...Database listener not available!  Logger NOT started!
Starting TimeCop service...Database listener not available!  Timecop NOT started!
Tomcat server already started.


any idea on what was wrong and what to do to fix this ...?

Thanks!
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Are you following these instructions:
http://www.wikidsystems.com/support/wikid-support-center/installation-how-tos/how-to-install-the-wikid-community-edition-3.x
?

There's a problem with postgres of some kind.  It could be that postgres
is not installed, that the postgres WiKID install scripts have not been
run and thus there is no database created, or something else altogether.

If you haven't run the install scripts, rebooting should force them to
run.

HTH,

nick

On 07/01/2009 03:46 PM, daposalami (via Nabble) wrote:

> Hi,
>
> Got the following error while starting the WiKID Community Edition:
>
> *[root@server2 bin]# wikid_start
> Starting database...Success!
> Success!
> Success!
> Starting Logger service...Database listener not available! Logger NOT
> started!
> Starting TimeCop service...Database listener not available! Timecop NOT
> started!
> Tomcat server already started.
> *
>
> any idea on what was wrong and what to do to fix this ...?
>
> Thanks!
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3191333.html
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Hi Nick,

Which script were you referring to and can l run them manually?
where can the scripts be found?
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
If you follow these directions:

http://www.wikidsystems.com/support/wikid-support-center/installation-how-tos/how-to-install-the-wikid-community-edition-3.x

See steps 8 & 9

On 07/02/2009 07:46 AM, daposalami (via Nabble) wrote:

> Hi Nick,
>
> Which script were you referring to and can l run them manually?
> where can the scripts be found?
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3194606.html
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Thanks Nick,
was able to run the scripts but got another series of errors, see as listed below:

[root@server2 sbin]# /opt/WiKID/conf/templates/wikid-firstboot.sh
Password:
dropdb: database removal failed: ERROR:  database "wikid" does not exist
Password:
dropuser: removal of user "wikid-sens" failed: ERROR:  role "wikid-sens" does not exist
Password:
dropuser: removal of user "timecop" failed: ERROR:  role "timecop" does not exist
Password:
dropuser: removal of user "tomcat" failed: ERROR:  role "tomcat" does not exist
Password:
dropuser: removal of user "wikidadmin" failed: ERROR:  role "wikidadmin" does not exist
Password:
dropuser: removal of user "wikidncserver" failed: ERROR:  role "wikidncserver" does not exist
Password:
dropuser: removal of user "wikidradserver" failed: ERROR:  role "wikidradserver" does not exist
Updating PostgreSQL configuration files for use with WiKID ...
Password:


I'll appreciate your response...

Thanks!
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
If you run

# service postgresql start

Does the db start?



On 07/02/2009 12:13 PM, daposalami (via Nabble) wrote:

> Thanks Nick,
> was able to run the scripts but got another series of errors, see as
> listed below:
>
> *[root@server2 sbin]# /opt/WiKID/conf/templates/wikid-firstboot.sh
> Password:
> dropdb: database removal failed: ERROR: database "wikid" does not exist
> Password:
> dropuser: removal of user "wikid-sens" failed: ERROR: role "wikid-sens"
> does not exist
> Password:
> dropuser: removal of user "timecop" failed: ERROR: role "timecop" does
> not exist
> Password:
> dropuser: removal of user "tomcat" failed: ERROR: role "tomcat" does not
> exist
> Password:
> dropuser: removal of user "wikidadmin" failed: ERROR: role "wikidadmin"
> does not exist
> Password:
> dropuser: removal of user "wikidncserver" failed: ERROR: role
> "wikidncserver" does not exist
> Password:
> dropuser: removal of user "wikidradserver" failed: ERROR: role
> "wikidradserver" does not exist
> Updating PostgreSQL configuration files for use with WiKID ...
> Password:
> *
>
> I'll appreciate your response...
>
> Thanks!
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3195969.html
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
No, the db failed to start but started when l tried use pg_ctl as shown below:


bash-3.00$ service postgresql start
Starting postgresql service:                               [FAILED]
bash-3.00$ pg_ctl -D /opt/PostgreSQL/8.3/data -l logfile start
/usr/bin/pg_ctl: line 354: logfile: No such file or directory
postmaster successfully started


Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
hmm.  is postgres installed in /opt?  did you manually install it?

did you run 'service postgresql initdb'?

FWIW, the enterprise iso of the WiKID Strong Authentication server comes
with all the required software ready to go...


On 07/02/2009 12:45 PM, daposalami (via Nabble) wrote:

> No, the db failed to start but started when l tried use pg_ctl as shown
> below:
>
> *
> bash-3.00$ service postgresql start
> Starting postgresql service: [FAILED]
> bash-3.00$ pg_ctl -D /opt/PostgreSQL/8.3/data -l logfile start
> /usr/bin/pg_ctl: line 354: logfile: No such file or directory
> postmaster successfully started
> *
>
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3196208.html
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Hi,
I have successfully used the WiKID iso to setup WiKID but l need to know how to access the web-browser from the command-line.I have tried the use of "startx" to switch to GNOME that l may be able to use Mozilla to access http://localhost.localdomain/WiKIDAdmin/, but it's saying "command not found"
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
The server does not have X on it.  What you want to do is access it from
  another machine using https://ipaddress/WiKIDAdmin...

On 07/07/2009 06:17 AM, dapo (via Nabble) - No Reply wrote:

> Hi,
> I have successfully used the WiKID iso to setup WiKID but l need to know
> how to access the web-browser from the command-line.I have tried the use
> of "startx" to switch to GNOME that l may be able to use Mozilla to
> access http://localhost.localdomain/WiKIDAdmin/, but it's saying
> "command not found"
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3218409.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
thanks  Nick, I was able to access from another machine.

While trying to create a new domain on the client, I entered same Server Code as I have it in the Authentication Server but got the error: Could not obtain configuration for: 111111111111

N.B: 111111111111 is the server code.
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
The domain id should be the IP address of the WiKID server, zero-padded.
  So, 65.82.196.25 becomes 065082196025/

The domain id can also be a DNS entry in wikidsystems.net - so we map
888888888888 to 888888888888.wikidsytems.net.

The IP address can be an internal lan ip, but only clients on that
internal lan will be able to access it - which might be fine for testing.

Most of this is in the manual:
http://www.wikidsystems.com/support/wikid-support-center/manual/how-to-install-the-wikid-strong-authentication-server


On 07/07/2009 12:38 PM, dapo (via Nabble) - No Reply wrote:

> thanks Nick, I was able to access from another machine.
>
> While trying to create a new domain on the client, I entered same Server
> Code as I have it in the Authentication Server but got the error: Could
> not obtain configuration for: 111111111111
>
> N.B: 111111111111 is the server code.
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3220383.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Thanks Nick...just effected the change for the servercode.
After the change was effected, an attempt to connect to the server was showing 'zero' and no connection was indaicated. pls see the attached.

Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Did you get a certificate for the server from us?

What does it say in the WiKIDAdmin logs?

Also, you can run the PC software token in debug mode:
http://www.wikidsystems.com/support/wikid-support-center/troubleshooting-faq/how-do-i-run-the-token-in-debug-mode/

HTH,

Nick

On 07/07/2009 01:32 PM, daposalami (via Nabble) wrote:

> Thanks Nick...just effected the change for the servercode.
> After the change was effected, an attempt to connect to the server was
> showing 'zero' and no connection was indaicated. pls see the attached.
>
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3220658.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
thanks Nick...I found a way around it. I had to restart the server and everything started working fine.

I wanted to try the example.jsp as stated in the guide but got the following error: "The wClient connection to the server was NOT successfully established"

Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Have you edited the example.jsp file to change the localhost passphrase?

On 07/07/2009 02:03 PM, daposalami (via Nabble) wrote:

> thanks Nick...I found a way around it. I had to restart the server and
> everything started working fine.
>
> I wanted to try the example.jsp as stated in the guide but got the
> following error: *"The wClient connection to the server was NOT
> successfully established"*
>
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3220822.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
Yes, I did edit the file. see below the changes made in bold:

<%
    String defaultservercode = "192168003004";
    String status = "";
    String chall;
    wClient wc;
    if (session.getAttribute("wClient") == null) {
        wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "production",
                Config.getValue("BASEPATH") + "private/CACertStore", "changeit");
        // NOTE:  The passphrase above "changeit" is the default passphrase for the CA trust store as delivered
        // by Sun with Java.  If you change this value you will also need to change the passphrase used to
        // encrypt the CACertStore file.  You must change both if you change either.
        session.getServletContext().setAttribute("wClient", wc);
    } else {
        wc = (wClient) session.getServletContext().getAttribute("wClient");
    }
    if (wc.isConnected()) {

%>
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
What does

# ls -all /opt/WiKID/private

Say?

On 07/07/2009 02:40 PM, daposalami (via Nabble) wrote:

> Yes, I did edit the file. see below the changes made in bold:
>
> <%
> String defaultservercode = "*192168003004*";
> String status = "";
> String chall;
> wClient wc;
> if (session.getAttribute("wClient") == null) {
> wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") +
> "private/localhost.p12", "*production*",
> Config.getValue("BASEPATH") + "private/CACertStore", "changeit");
> // NOTE: The passphrase above "changeit" is the default passphrase for
> the CA trust store as delivered
> // by Sun with Java. If you change this value you will also need to
> change the passphrase used to
> // encrypt the CACertStore file. You must change both if you change either.
> session.getServletContext().setAttribute("wClient", wc);
> } else {
> wc = (wClient) session.getServletContext().getAttribute("wClient");
> }
> if (wc.isConnected()) {
>
> %>
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3221089.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
daposalami

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
see below:

[root@localhost WiKIDAdmin]# ls -all /opt/WiKID/private
total 56
drwxr-xr-x  3 root root 4096 Jul  7 22:14 .
drwxr-xr-x 13 root root 4096 Jul  7 12:54 ..
drwxr-xr-x  2 root root 4096 Jul  7 12:54 googlesso
-rw-r--r--  1 root root 2624 Jul  7 18:45 intCAKeys.p12
-rw-r--r--  1 root root 2150 Jul  7 18:58 localhost.p12
-rw-r--r--  1 root root 1752 May  4 22:56 WiKIDCA.cer
-rw-r--r--  1 root root 2108 Jul  7 22:14 WiKIDNet.p12
Nick Owen

Re: starting WiKID ...

Reply Threaded More More options
Print post
Permalink
looks like you are missing an intermediate certificate.

Did you get an intermediate CA from us?  On the Configuration tab the
first two items are Create an Intermediate CA and Install the
Intermediate CA  - are those listed as Done?

I'm not sure how you can create a cert without a CACertStore in that
directory.

On 07/07/2009 02:44 PM, daposalami (via Nabble) wrote:

> see below:
>
> [root@localhost WiKIDAdmin]# ls -all /opt/WiKID/private
> total 56
> drwxr-xr-x 3 root root 4096 Jul 7 22:14 .
> drwxr-xr-x 13 root root 4096 Jul 7 12:54 ..
> drwxr-xr-x 2 root root 4096 Jul 7 12:54 googlesso
> -rw-r--r-- 1 root root 2624 Jul 7 18:45 intCAKeys.p12
> -rw-r--r-- 1 root root 2150 Jul 7 18:58 localhost.p12
> -rw-r--r-- 1 root root 1752 May 4 22:56 WiKIDCA.cer
> -rw-r--r-- 1 root root 2108 Jul 7 22:14 WiKIDNet.p12
>
>
> ------------------------------------------------------------------------
> View message @
> http://n2.nabble.com/starting-WiKID-...-tp3191333p3221121.html
> To start a new topic under WiKID Strong Authentication Forums, email
> [hidden email]
> To unsubscribe from WiKID Strong Authentication Forums, click here
> <<Link Removed>>.
>
>

--
Nick Owen
WiKID Systems, Inc.
http://www.wikidsystems.com
Commercial/Open-source Two-Factor Authentication
http://twitter.com/wikidsystems
#wikid on irc.freenode.net
1 2