I don''t seem to have access to the web administration interface. It worked fine up to svn_B37, but B38 and B39 don''t appear to have it deployed. I can start the web console server "/usr/sbin/smcwebserver start" and log in as root but ZFS does not appear in the list of applications. Is there something additional I need to do? This message posted from opensolaris.org
To expand on the original question: in nv 38 and 39, I start the Java Web Console https://localhost:6789 and log in as root. Instead of the available application including ZFS admin, I get this page: You Do Not Have Access to Any Application No application is registered with this Sun Java(TM) Web Console, or you have no rights to use any applications that are registered. See your system administrator for assistance. I''ve tried smreg and wcadmin but do not know the /location/name of the ZFS app to register. Any help is appreciated, google and sunsolve come up empty. On the same note, are there any other apps that can be registed in the Sun Java Web Console? Ron Halstead Technical Consultant TAOS This message posted from opensolaris.org
On 22/05/2006, at 6:41 AM, Ron Halstead wrote:> To expand on the original question: in nv 38 and 39, I start the > Java Web Console https://localhost:6789 and log in as root. Instead > of the available application including ZFS admin, I get this page: > > You Do Not Have Access to Any Application > No application is registered with this Sun Java(TM) Web Console, or > you have no rights to use any applications that are registered. See > your system administrator for assistance. > > I''ve tried smreg and wcadmin but do not know the /location/name of > the ZFS app to register. Any help is appreciated, google and > sunsolve come up empty. On the same note, are there any other apps > that can be registed in the Sun Java Web Console?I''ve noticed the same problem on b37 and followed the same path. I also have no answer :( Boyd
Hey all, On Mon, 2006-05-22 at 14:53 +1000, Boyd Adamson wrote:> > I''ve tried smreg and wcadmin but do not know the /location/name of > > the ZFS app to register. Any help is appreciated, google and > > sunsolve come up empty. On the same note, are there any other apps > > that can be registed in the Sun Java Web Console?Not sure about the last bit of your question, but in order to register the ZFS gui, you can do : # smreg add -a /usr/share/webconsole/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 Shutting down Sun Java(TM) Web Console Version 3.0.1 ... Starting Sun Java(TM) Web Console Version 3.0.1 ... The console is running. Guess I need to work out how to use wcadmin now :-) cheers, tim -- Tim Foster, Sun Microsystems Inc, Operating Platforms Group Engineering Operations http://blogs.sun.com/timf
On 5/22/06, Tim Foster <Tim.Foster at sun.com> wrote:> Hey all, > > On Mon, 2006-05-22 at 14:53 +1000, Boyd Adamson wrote: > > > I''ve tried smreg and wcadmin but do not know the /location/name of > > > the ZFS app to register. Any help is appreciated, google and > > > sunsolve come up empty. On the same note, are there any other apps > > > that can be registed in the Sun Java Web Console? > > Not sure about the last bit of your question, but in order to register > the ZFS gui, you can do : >Hi> # smreg add -a /usr/share/webconsole/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 > Shutting down Sun Java(TM) Web Console Version 3.0.1 ... > Starting Sun Java(TM) Web Console Version 3.0.1 ... > The console is running. >tried all that as still get this and no web interface # smreg add -a /usr/share/webconsole/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 Starting Sun Java(TM) Web Console Version 3.0.1 ... Cannot determine if console started successfully # smcwebserver restart Starting Sun Java(TM) Web Console Version 3.0.1 ... Cannot determine if console started successfully # connecting to https://localhost:6789/ gives me connection refused this is # uname -av SunOS opteron 5.11 snv_38 i86pc i386 i86pc # u20 with 2GB of ram... James Dickens uadmin.blogspot.com> > Guess I need to work out how to use wcadmin now :-) > > cheers, > tim > -- > Tim Foster, Sun Microsystems Inc, Operating Platforms Group > Engineering Operations http://blogs.sun.com/timf > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
I recieved the following from Tim / Sun. Thought I would post it here: Not sure about the last bit of your question, but in order to register the ZFS gui, you can do : # smreg add -a /usr/share/webconsole/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 Shutting down Sun Java(TM) Web Console Version 3.0.1 ... Starting Sun Java(TM) Web Console Version 3.0.1 ... The console is running. Guess I need to work out how to use wcadmin now :-) cheers, tim -- Tim Foster, Sun Microsystems Inc, Operating Platforms Group Engineering Operations http://blogs.sun.com/timf This message posted from opensolaris.org
Hi Bob, The Lockhart application console, in which the ZFS web application sits, was uprev''ed from 2.2.x to 3.0 in build 37. We did not receive any notice of this from the Lockhart team until bugs started coming in against the ZFS GUI. Since then the ZFS GUI has been ported to the new Lockhart 3.0 architecture, and has been put back into build 40. Let us know if you still see problems from that point. Thanks, Steve Bob Miller wrote:> I don''t seem to have access to the web administration interface. It > worked fine up to svn_B37, but B38 and B39 don''t appear to have it > deployed. I can start the web console server "/usr/sbin/smcwebserver > start" and log in as root but ZFS does not appear in the list of > applications. Is there something additional I need to do? > > This message posted from opensolaris.org-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 185 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20060522/07c7172f/attachment.bin>
Steve, Thanks for the update, I will try again with Build 40. I generally use the CLI anyway, but when showing ZFS to others it is always nice to include the web GUI as some people feel more comfortable with it. Bob This message posted from opensolaris.org
Just a note about build 39. I tried Tim''s smreg add suggestion and it worked, I now see the ZFS Admin page. But when I click on the link, the next page shows: Application Error org.apache.jasper.JasperException: /jsp/zfsmodule/DevicesTree.jsp(51,2) The end tag "</cc:i18nbundle" is unbalanced I ''m not a programmer, so I can''t see the problem in /usr/share/webconsole/zfs//jsp/zfsmodule/DevicesTree.jsp Hopefully, build 40 has this one fixed also. Curiouser and curiouser. Ron This message posted from opensolaris.org
Just upgraded to nv40. The problem persists. Same error: org.apache.jasper.JasperException: /jsp/zfsmodule/DevicesTree.jsp(51,2) The end tag "</cc:i18nbundle" is unbalanced Also, where is the man page for wcadmin. Trying to get things to work without it is difficult at best. Ron Halstead This message posted from opensolaris.org
Hello Halstead: I got the same error... however i tried to debug that jsp. but it seems not work to me @_@ anyone knows how to solve this problem ? This message posted from opensolaris.org
I''m glad (I guess) to hear I''m not the only one seeing this. Actually, this post is to get the questions back up to the top of the list. ; ) Ron This message posted from opensolaris.org
Never mind : ) I decided to reload nv40 from scratch. The last time I did an upgrade install (from nv38 to nv39 and nv39 to nv40). This time, I did a initial install and the problem has gone away. I''m guessing that something (?) changed between nv 38 and nv39 that was not changed with an upgrade. Thanks to all for your interest and comments. A problem I had with the resolver sleeping was fixed with this install also. I guess its best to initial install rather than upgrade install to new builds, at least until its more mature. Ron Halstead This message posted from opensolaris.org
wooo.... it''s a first good news after i woke up. ;-) I will try to upgrade sv_39 to sv_40 then post my result here. Thanks halstead. ;-) This message posted from opensolaris.org
Hello all I had upgraded opensolaris from snv_39 to snv_40 then everything is ok. Now I can use smcwebserver to manage my zfs pool. ;-) Thanks all. This message posted from opensolaris.org
My question is not related directly to ZFS but maybe you know the answer. Currently I can run the ZFS Web administration interface only locally - by pointing my browser to [i]https://localhost:6789/zfs/[/i] What should be done to enable an access to [i]https://zfshost:6789/zfs/[/i] for other hosts ? TIA, -- Leon This message posted from opensolaris.org
> My question is not related directly to ZFS but maybe > you know the answer. > Currently I can run the ZFS Web administration > interface only locally - by pointing my browser to > [i]https://localhost:6789/zfs/[/i] > What should be done to enable an access to > [i]https://zfshost:6789/zfs/[/i] for other hosts ? > > TIA, > -- LeonThis command did the job: [b]netservices open[/b] (see Secure-by-Default info for explanation http://www.opensolaris.org/os/community/security/projects/sbd/ ) Thanks to Detlef for his help. -- leon This message posted from opensolaris.org
> > My question is not related directly to ZFS but > maybe > > you know the answer. > > Currently I can run the ZFS Web administration > > interface only locally - by pointing my browser to > > [i]https://localhost:6789/zfs/[/i] > > What should be done to enable an access to > > [i]https://zfshost:6789/zfs/[/i] for other hosts ? > > > > TIA, > > -- Leon > > This command did the job: > [b]netservices open[/b] > > (see Secure-by-Default info for explanation > http://www.opensolaris.org/os/community/security/proje > cts/sbd/ ) > > Thanks to Detlef for his help. > > -- leonCCing the Security forum in case someone there knows if this is a bug or not. I''ve been mucking around with B59 and for an unidentifiable reason (I wasn''t mucking THAT much), webmin and smcwebserver both became unconnectable even though they were started. Restarting did nothing. Re-installing webmin made it work. I didn''t know how to reinstall smcwebserver. So I found this thread, and "netservices open" made smcwebserver work. I don''t know much about Secure by Default, but it doesn''t seem to me that it should be restricting (perhaps unpredictably) access to new/used/started services? :) This message posted from opensolaris.org
Just came across this myself, the command you want to enable just the web admin interface is: # svccfg svc:> select system/webconsole svc:/system/webconsole> setprop options/tcp_listen=true svc:/system/webconsole> quit # svcadm restart system/webconsole This message posted from opensolaris.org