Data Backup and Recovery Discussions

unable to login in snapcreator 3.3.0

I installer snapcreator in a win 2004 R2 server

I have created the local user snapcreator on both heads of my fas3140, tested I can login there with data ontap.

I have started the server on port 8888 since 8080 is akready used.

When I point my navigator to  http://myservername.8888

the applicaction starts and login windows appears

I am unable to login there, each time I have the error messages:

==ERROR==
java.lang.Exception

==TIME==
2011-04-09 02:56:00,453

==MESSAGE==
Unknown failure. Check service logs for more details.

==DETAILS==
No details are availble.

==CORRECTIVE ACTION==
No suggested corrective action is available.

==LOCATION==
Location is not specified.

==BROWSER INFO==
App Name: Netscape
App Version: 5.0 (Windows; fr)
App Codename: Mozilla
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; fr; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729)
Platform: Win32
Cookie Enabled: true

what user/login should I use to authenticate here ?

17 REPLIES 17

Re: unable to login in snapcreator 3.3.0

Hi,

Did you execute the command ./snapcreator --profile setup before starting the server..? If so, you need to give that username and password which you have given during the profile setup.

You can change the startup port by using the params

-db_password <db_password>
-db_port <db_port>
-db_username <db_username>
-gui_port <gui_port>
-help

Thanks !

Re: unable to login in snapcreator 3.3.0

Yes, this is what I did :

C:\scServer3.3.0>snapcreator -profile setup

Welcome to the NetApp Snap Creator Framework!

Setup NetApp Snap Creator Framework Server (y|n): y

Enter serial number: xxxxxxxxxxxxxx
Please Enter GUI Administrator Username: snapcreator
Please Enter password for snapcreator:
Please Confirm password for snapcreator:

INFO: Updated NetApp Snap Creator Framework GUI

INFO: To start GUI please do the following:

cd C:/scServer3.3.0/gui
java -jar snapcreator.jar
or
java -jar snapcreator.jar  -db_password <db_password> -db_port <db_port> -db_use
rname <db_username> -gui_port <gui_port>

INFO: To access NetApp Snap Creator Framework GUI goto "http://srvmgtnetapp01:80
80" or "http://srvmgtnetapp01:<gui_port>"

C:\scServer3.3.0>cd gui

C:\scServer3.3.0\gui>java -jar snapcreator.jar -gui_port 8888
Starting Derby Server
Testing if the Derby Server is up and running!
Derby Server now running
Got an embedded connection.
Testing embedded connection by executing a sample query
number of rows in sys.systables = 38

While my app is busy with embedded work, ij might connect like this:

        $ java -Dij.user=me -Dij.password=pw -Dij.protocol=jdbc:derby://localhos
t:1527/ org.apache.derby.tools.ij
        ij> connect 'snapcreator';


log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
Starting Jetty Server
Jetty Server Started on port: 8888

and I have the message I gave you when I try to log in snapcreator using my 'snapcreator' user.

Do I have to specify all the parameters at startup or -gui_port is sufficient ?

what are  db_user  db_password and db_port  ??

thanks

Re: unable to login in snapcreator 3.3.0

To run the SC Server on different port -gui_port <port> is enough, java -jar snapcreator.jar -gui_port 8888. The db_username , db_password, db_port are to change the default settings for the derby database we use, you can even change the derby database port it you have a conflict there for example.

Regards,

Keith

Re: unable to login in snapcreator 3.3.0

Ok this is exactly what I did, and obviously I am unable to log into snapcreator. I doubt it is a userid/password problem because snapcreator does not complain about that.

Any interaction with the login window of snapcreator server will trigger this error window (see screenshots) :

==ERROR==
java.lang.Exception

==TIME==
2011-04-11 16:53:48,255

==MESSAGE==
Unknown failure. Check service logs for more details.

==DETAILS==
No details are availble.

==CORRECTIVE ACTION==
No suggested corrective action is available.

==LOCATION==
Location is not specified.

==BROWSER INFO==
App Name: Netscape
App Version: 5.0 (Windows; fr)
App Codename: Mozilla
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; fr; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729)
Platform: Win32
Cookie Enabled: true

Re: unable to login in snapcreator 3.3.0

This might be a dumb question, but do you have the latest version of Java installed on the SC server and the latest plug-in installed for your browser?

SC server requires JRE 1.6 or higher.

Re: unable to login in snapcreator 3.3.0

Make sure the username/password is the GUI user you configured when doing "snapcreator --profile setup". Check in gui/etc/snapcreatorgui.conf file to see what is configured.

If you are getting the login page then things are working

Regards,

Keith

Re: unable to login in snapcreator 3.3.0

And the gui password is encrypted so dont enter encrypted password in GUI login screen. If you dont remember password just reset it by running "snapcreator --profile setup" and then restart GUI.

Keith

Re: unable to login in snapcreator 3.3.0

Verified Java Version
Congratulations!
You have the recommended Java installed (Version 6 Update 24).

Re: unable to login in snapcreator 3.3.0

already done twice  with no success. same error.

this is not a login problem. and i have no trace and no java console i can enable while login in...

Re: unable to login in snapcreator 3.3.0

double checked.

Re: unable to login in snapcreator 3.3.0

Please send us <sc server home>/gui/logs/snapcreator.log and <sc server home>/gui/derby.log

You can use  the dl name <dl-snapcreator-qa@netapp.com>

regards

Charly

Re: unable to login in snapcreator 3.3.0

Ok the log show port 1527 is already in use.

In fact this server is the operation manager; dcfm pro manager server so all kinds of port are already in use.

This is a DCFMSRV port (a brocade switch software manager server)

I then specify  -db_port 1529 -gui_port 8888 as starting options but the derby error log shows the same port 1527 is already in use !

How can I change this default port?

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

2011-04-11 15:15:23.885 GMT : Impossible d'écouter sur le port 1527, sur l'hôte localhost :
java.net.BindException: Address already in use: JVM_Bind
An exception was thrown during network server startup. DRDA_ListenPort.S:Impossible d'écouter sur le port 1527, sur l'hôte localhost :
java.net.BindException: Address already in use: JVM_Bind
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.derby.iapi.jdbc.DRDAServerStarter.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: DRDA_ListenPort.S:Impossible d'écouter sur le port 1527, sur l'hôte localhost :
java.net.BindException: Address already in use: JVM_Bind
    at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
    at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
    at org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(Unknown Source)
    ... 6 more
----------------------------------------------------------------
2011-04-11 15:15:26.641 GMT:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.6.1.0 - (938214): instance a816c00e-012f-4521-a2b0-000000cd29f8
on database directory C:\scServer3.3.0\gui\snapcreator   with class loader sun.misc.Launcher$AppClassLoader@11b86e7

Database Class Loader started - derby.database.classpath=''

Re: unable to login in snapcreator 3.3.0

Hi,

Ok Sorry its a Defect/Burt from our side. Even though we have an option to change db port its not changing. I have raised one BURT for this.

I will discuss here regarding this.

regards

Charly

Re: unable to login in snapcreator 3.3.0

For now since the -db_port doesnt allow you to change database port the only option is running scServer on a different system since it conflicts with other products you have running on this system.

As Charly mentioned this issue will be fixed in the next release of SC.

Regards,

Keith

Re: unable to login in snapcreator 3.3.0

Hello,

I am having the exact same issue with Snapcreator 3.4.0. Same errors when trying to login. What could it be?

I have tried everything people said here...

Thanks in advance.

Pedro Rocha.

Kind Regards,
__
Pedro Rocha
Cloud Volumes ONTAP
Review Banner
All Community Forums
Public