Data Backup and Recovery

unable to login in snapcreator 3.3.0

pascalc
13,383 Views

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

charly
13,312 Views

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 !

pascalc
13,312 Views

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

ktenzer
13,312 Views

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

pascalc
13,311 Views

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

Taylor_Riggan
13,313 Views

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.

pascalc
13,312 Views

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

ktenzer
13,311 Views

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

ktenzer
13,311 Views

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

pascalc
13,311 Views

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

charly
12,902 Views

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

pascalc
12,904 Views

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

charly
12,904 Views

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

pascalc
12,902 Views

double checked.

ktenzer
12,902 Views

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

pedro_rocha
12,902 Views

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.

ktenzer
9,476 Views

Following are important

1. you start GUI form service or by hand. If you do it by hand make sure you are in the scServer3.4.0\gui directory

2. make sure if you have 32 bit version of SC you are using 32bit version of java. If you have 64 bit version of SC, 64 bit version of java. This in 75% of all issues with GUI startup, wrong java version.

3. make sure you have java 1.6 or higher installed

4. make sure you ran "snapcreator.exe --profile setup"

5. make sure nothing is running on port 8080, if something is then you need to start gui with different port. In SC 3.4.0 there is no DB port just a gui port

6. Look in the logs uner gui, maybe there is an error there

If none of this helps i strongly recommend opening an NGS support case, they are much better at collecting data in order to troubleshoot things

Regards,

Keith

pedro_rocha
9,476 Views

Hello, I appreciate your help.

Unfortunately those items are not correcting the issue. One more thing: I am running on Linux. Everything is 64bit

I was able to inform the correct log4j.properties file but I still get this when debug is enable:

log4j:WARN No appenders could be found for logger (org.mortbay.log).

log4j:WARN Please initialize the log4j system properly.

I'll try to open a case with NGS.

Regards,

Pedro.

Public