onfsdn / atrium-docs

Documentation for Project Atrium
15 stars 7 forks source link

Canot login ODL WEB GUI #3

Open cdalpha2014 opened 7 years ago

cdalpha2014 commented 7 years ago

Hi, I had download Atrium_ODL_2016_A.ova, runs OpenDayLight as following

admin@atrium:~/atrium-odl$ ./distribution-karaf/target/assembly/bin/karaf
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0

    ________                       ________                .__  .__       .__     __
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|
            \/|__|        \/     \/        \/     \/\/            /_____/      \/

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>

I found ODL listen to 8181 port,

admin@atrium:~$ netstat -anp | grep 8181
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6       0      0 :::8181                 :::*                    LISTEN      1407/java

but I cannot login ODL weg page, I didn't known the username and password. I had try admin/admin, admin/bgprouter, they are rejected. please tell me the valid username and password. thank you

hammerPC commented 5 years ago

Hi, I've had this problem before. Sometimes even the WEB page is 404. I check the bundle:list, discover some bundle are not active. I think these bundles are relevant to the problem:

314 | Active   |  80 | 0.5.2.Carbon                        | dlux.core
315 | Active   |  80 | 0.5.2.Carbon                        | dlux.common.login
316 | Active   |  80 | 0.5.2.Carbon                        | dlux.common.authentication
317 | Active   |  80 | 0.5.2.Carbon                        | dlux.common.navigation
318 | Active   |  80 | 0.5.2.Carbon                        | dlux.common.topbar
319 | Active   |  80 | 0.5.2.Carbon                        | dlux.common.general

(this is the normal state,all should be Active) I tried to restart the bundle using command : bundle:start 314-319 but did't work. last, I found that regardless of it, about half an hour , these bundle be Active。 I don't know why....But , It work....