Sponsored Content
Full Discussion: ZFS and Web Console
Operating Systems Solaris ZFS and Web Console Post 302298749 by darkoth on Wednesday 18th of March 2009 12:50:09 PM
Old 03-18-2009
Computer ZFS and Web Console

All,

I am trying to get the Sun Web Console to work with ZFS and am not getting anywhere. When I first tried to get the web console https://server:6789/zfs it gave me a page can't be displayed (500 error). I've played around and performed the following and can now get it to log in and display the ZFS admin link, but when I click it, it will time out and not display anything. What am I missing?

Code:
# svcs webconsole
STATE          STIME    FMRI
online         12:30:50 svc:/system/webconsole:console

# svcadm -v enable webconsole
svc:/system/webconsole:console enabled.

# svcprop -p options/tcp_listen webconsole false

# netstat -a | grep 6789
localhost.6789             *.*                0      0 49152      0 LISTEN

# svccfg -s svc:/system/webconsole setprop options/tcp_listen = true

# /usr/sbin/smcwebserver restart
Restarting Sun Java(TM) Web Console Version 3.1 ...
The console is running

# netstat -a | grep 6789
      *.6789               *.*                0      0 49152      0 LISTEN
localhost.33560      localhost.6789       49152      0 49152      0 FIN_WAIT_2
localhost.6789       localhost.33560      49152      0 49152      0 CLOSE_WAIT

# smcwebserver status

Sun Java(TM) Web Console is running

# svcs -l system/webconsole:console
fmri         svc:/system/webconsole:console
name         java web console
enabled      true
state        online
next_state   none
state_time   Wed Mar 18 09:29:43 2009
logfile      /var/svc/log/system-webconsole:console.log
restarter    svc:/system/svc/restarter:default
contract_id  326 
dependency   require_all/none svc:/milestone/network (online)
dependency   require_all/refresh svc:/milestone/name-services (online)
dependency   require_all/none svc:/system/filesystem/local (online)
dependency   optional_all/none svc:/system/filesystem/autofs (disabled) svc:/network/nfs/client (online)
dependency   require_all/none svc:/system/system-log (online)

# wcadmin list
 
Deployed web applications (application name, context name, status):
 
    console  ROOT            [running]
    console  com_sun_web_ui  [running]
    console  console         [running]
    console  manager         [running]
 
Registered jar files (application name, identifier, path):
 
    console  audit_jar         /usr/lib/audit/Audit.jar
    console  console_jars      /usr/share/webconsole/lib/*.jar
    console  jato_jar          /usr/share/lib/jato/jato.jar
    console  javahelp_jar      /usr/jdk/packages/javax.help-2.0/lib/*.jar
    console  shared_jars       /usr/share/webconsole/private/container/shared/lib/*.jar
    legacy   cc_de             /usr/share/webconsole/lib/cc_de.jar
    legacy   cc_es             /usr/share/webconsole/lib/cc_es.jar
    legacy   cc_fr             /usr/share/webconsole/lib/cc_fr.jar
    legacy   cc_it             /usr/share/webconsole/lib/cc_it.jar
    legacy   cc_ko             /usr/share/webconsole/lib/cc_ko.jar
    legacy   cc_sv             /usr/share/webconsole/lib/cc_sv.jar
    legacy   cc_zh_CN          /usr/share/webconsole/lib/cc_zh_CN.jar
    legacy   cc_zh_HK          /usr/share/webconsole/lib/cc_zh_HK.jar
    legacy   cc_zh_TW          /usr/share/webconsole/lib/cc_zh_TW.jar
    legacy   serviceimpl_de    /usr/share/webconsole/lib/serviceimpl_de.jar
    legacy   serviceimpl_es    /usr/share/webconsole/lib/serviceimpl_es.jar
    legacy   serviceimpl_fr    /usr/share/webconsole/lib/serviceimpl_fr.jar
    legacy   serviceimpl_it    /usr/share/webconsole/lib/serviceimpl_it.jar
    legacy   serviceimpl_ko    /usr/share/webconsole/lib/serviceimpl_ko.jar
    legacy   serviceimpl_sv    /usr/share/webconsole/lib/serviceimpl_sv.jar
    legacy   serviceimpl_zh_CN  /usr/share/webconsole/lib/serviceimpl_zh_CN.jar
    legacy   serviceimpl_zh_HK  /usr/share/webconsole/lib/serviceimpl_zh_HK.jar
    legacy   serviceimpl_zh_TW  /usr/share/webconsole/lib/serviceimpl_zh_TW.jar
 
Registered login modules (application name, service name, identifier):
 
    console  ConsoleLogin  userlogin
    console  ConsoleLogin  rolelogin
 
Persistent Jvm options:
 
    -server
    -Xmx128m
    -XX:+UseParallelGC
    -XX:ParallelGCThreads=4

# wcadmin list --detail -a
 
Deployed web applications (application name, context name, status):
 
    console  ROOT            [running]
        Time:   03/17/09 11:49:33
        Base:   /usr/share/webconsole/webapps/console
        Debug:  0
        System: true
 
    console  com_sun_web_ui  [running]
        Time:   03/17/09 11:49:33
        Base:   /usr/share/webconsole/webapps/com_sun_web_ui
        Debug:  0
        System: true
 
    console  console         [running]
        Time:   03/17/09 11:49:33
        Base:   /usr/share/webconsole/webapps/console
        Debug:  0
        System: true
 
    console  manager         [running]
        Base:   ${catalina.home}/webapps/manager
        Debug:  0
        System: true
 


# smreg add -a /usr/share/webconsole/webapps/zfs


    Warning: smreg is obsolete and is preserved only for
    compatibility with legacy console applications. Use wcadmin instead.

    Type "man wcadmin" or "wcadmin --help" for more information.


    Registering com.sun.zfs.web.admin_1.0.

# smcwebserver restart    
Restarting Sun Java(TM) Web Console Version 3.1 ...
The console is running

 

7 More Discussions You Might Find Interesting

1. Solaris

Problem with connecting with Sun Java Web console

Hi, I have Solaris 10 8/07 on SPARC and I can't log in Web console. When I opened browser (Firefox 3) at localhost:6789 I get Save file dialog which asks me to save some file with .part at the end. What information should I provide to find out where is the trouble?.. Internet explorer says... (3 Replies)
Discussion started by: Sapfeer
3 Replies

2. HP-UX

Secure Web Console Firmware

I have firmware 2.0 for the HP Secure Web Console, but looking for 1.8. Hp does not have this posted anywhere. Anyone have it? Thanks. (0 Replies)
Discussion started by: mrmurdock
0 Replies

3. Solaris

zfs web console

i need how to use graphical user interface for zfs using web console , thanks (3 Replies)
Discussion started by: Amr
3 Replies

4. Solaris

SMC web console

Dear Team please some body know what happened with smcwebconsole from Solaris10 to Solaris11 I don't found this script or Don't find in svcs -a please if some body know any think about this issue to tell us best, :p (2 Replies)
Discussion started by: Hosam
2 Replies

5. Solaris

Java web console Vs Web-Based Enterprise Management(WBEM)

Java web console Vs Web-Based Enterprise Management(WBEM) 1. I like to understand the difference in purpose of using java web console and Web-Based Enterprise Management (WBEM) 2. As per CIS benchmark, both of them has to be disabled when not used for increased security. Solaris admin(s) -... (0 Replies)
Discussion started by: cyberidude
0 Replies

6. Solaris

Is there any GUI or web ui to administrate zfs/zpool

HI, Is there any GUI or web ui to administrate zfs/zpool. i want to monitor/expand/migrate zfs from one machine to another machine (0 Replies)
Discussion started by: bentech4u
0 Replies

7. HP-UX

J3591A, HP Secure Web Console firmware

Hello all, Looking for a pre v2.0 rev of firmware for this ancient device. Nothing I've seen in searches indicates previous versions were available for download but I have to believe they were. I've tried the new hpe community website, (formerly ITRC I believe) but no dice. Also if... (0 Replies)
Discussion started by: 0ddentity
0 Replies
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy