Hi! I?m pretty new to solaris and zfs, but I got relatively good knowledge of linux and very good knowledge of storage H/W, S/W and storage admin/arkitecture/planning. Anyway, now I?ve decided to give it a try with solaris, I installed os200805 on 64-bit intel, and got it up running without any problems. Tried out a few things, forinstance remote desktop, and it worked lika a charm. But when I wanted to start to play with the web admin interface of zfs it didn?t show up @ https://localhost:6789 , as it should, according to all posts I?ve been reading. I tried different things like the ip adress instead of localhost, and the servername, with or without https, and with or without /zfs on the end. Also tried from a different machine. No website showed up, and I checked services, but services said inetd was running from start. It is also needed for the remote desktop, isn?t it? So, anyone, what am I doing wrong here? Rgrds Johan -- This message posted from opensolaris.org
Hello Johan!> But when I wanted to start to play with the web admin interface of zfs it > didn?t show up @ https://localhost:6789 , as it should, according to all > posts I?ve been reading. I tried different things like the ip adress instead > of localhost, and the servername, with or without https, and with or without > /zfs on the end. > > Also tried from a different machine. No website showed up, and I checked > services, but services said inetd was running from start. It is also needed > for the remote desktop, isn?t it?You need to check if the SMF service is running: $ svcs webconsole STATE STIME FMRI disabled Aug_25 svc:/system/webconsole:console If it is not, you need to enable it (as root or equivalent): # svcadm -v enable webconsole svc:/system/webconsole:console enabled. # svcs webconsole STATE STIME FMRI online 19:07:24 svc:/system/webconsole:console See the man pages for more details. Hope this helps. M?nga h?lsningar fr?n Tyskland -- Volker -- ------------------------------------------------------------------------ Volker A. Brandt Consulting and Support for Sun Solaris Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim Email: vab at bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgr??e: 45 Gesch?ftsf?hrer: Rainer J. H. Brandt und Volker A. Brandt
Johan Kragsterman wrote:> Hi! I?m pretty new to solaris and zfs, but I got relatively good knowledge of linux and very good knowledge of storage H/W, S/W and storage admin/arkitecture/planning. > Anyway, now I?ve decided to give it a try with solaris, I installed os200805 on 64-bit intel, and got it up running without any problems. Tried out a few things, forinstance remote desktop, and it worked lika a charm. > > But when I wanted to start to play with the web admin interface of zfs it didn?t show up @ https://localhost:6789 , as it should, according to all posts I?ve been reading. I tried different things like the ip adress instead of localhost, and the servername, with or without https, and with or without /zfs on the end. > > Also tried from a different machine. No website showed up, and I checked services, but services said inetd was running from start. It is also needed for the remote desktop, isn?t it? > > So, anyone, what am I doing wrong here? >The webconsole is not included in the base OpenSolaris 2008.05. But you will see lots of docs written for it, since it is included in Solaris 10 and SXCE. You might try asking on the indiana-discuss forum for the status of webconsole on OpenSolaris releases (aka Indiana) -- richard> Rgrds Johan > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
On Fri, Sep 19, 2008 at 10:16 AM, Volker A. Brandt <vab at bb-c.de> wrote:> You need to check if the SMF service is running:> # svcadm -v enable webconsole > svc:/system/webconsole:console enabled. > # svcs webconsole > STATE STIME FMRI > online 19:07:24 svc:/system/webconsole:consoleCan the service be enabled for remote connection? I tried changing "console_unsecurehost" to my LAN IP instead of localhost in /etc/webconsole/console/config.properties, but that didn''t seem to take.
> > You need to check if the SMF service is running: > > > # svcadm -v enable webconsole > > svc:/system/webconsole:console enabled. > > # svcs webconsole > > STATE STIME FMRI > > online 19:07:24 svc:/system/webconsole:console > > Can the service be enabled for remote connection?Yes, you need to set the corresponding SMF property. Check for the value of "options/tcp_listen": # svcprop -p options/tcp_listen webconsole true If it says "false", you need to set it to "true". Here''s a snippet from the Sun documentation: # svccfg svc:> select system/webconsole svc:/system/webconsole> setprop options/tcp_listen=true svc:/system/webconsole> quit # /usr/sbin/smcwebserver restart # netstat -a | grep 6789 I think you could also use "svcadm" to restart the service instead of the "smcwebserver" script. The last line is just to verify that something is listening on the webconsole port. Hope this helps -- Volker -- ------------------------------------------------------------------------ Volker A. Brandt Consulting and Support for Sun Solaris Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim Email: vab at bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgr??e: 45 Gesch?ftsf?hrer: Rainer J. H. Brandt und Volker A. Brandt
On Sun, Sep 21, 2008 at 1:31 PM, Volker A. Brandt <vab at bb-c.de> wrote:> Yes, you need to set the corresponding SMF property. Check > for the value of "options/tcp_listen": > > # svcprop -p options/tcp_listen webconsole > true > > If it says "false", you need to set it to "true". Here''s a snippet > from the Sun documentation: > > # svccfg > svc:> select system/webconsole > svc:/system/webconsole> setprop options/tcp_listen=true > svc:/system/webconsole> quit > # /usr/sbin/smcwebserver restart > # netstat -a | grep 6789Thanks. for some reason I had to do this twice, the first time it said "false" still. Odd. I was able to connect but now get a Java error... oh well
> > Yes, you need to set the corresponding SMF property. Check > > for the value of "options/tcp_listen": > > > > # svcprop -p options/tcp_listen webconsole > > true > > > > If it says "false", you need to set it to "true". Here''s a snippet > > from the Sun documentation: > > > > # svccfg > > svc:> select system/webconsole > > svc:/system/webconsole> setprop options/tcp_listen=true > > svc:/system/webconsole> quit > > # /usr/sbin/smcwebserver restart > > # netstat -a | grep 6789 > > Thanks. for some reason I had to do this twice, the first time it said > "false" still. Odd.Maybe the smcwebserver script is too slow. I don''t really know what it does. :-)> I was able to connect but now get a Java error... oh wellHmmm... I run Solaris 10/sparc U4. My /usr/java points to jdk/jdk1.5.0_16. I am using Firefox 2.0.0.16. Works For Me(TM) ;-) Sorry, can''t help you any further. Maybe a question for desktop-discuss? Good luck -- Volker -- ------------------------------------------------------------------------ Volker A. Brandt Consulting and Support for Sun Solaris Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim Email: vab at bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgr??e: 45 Gesch?ftsf?hrer: Rainer J. H. Brandt und Volker A. Brandt
On Sun, Sep 21, 2008 at 11:49 PM, Volker A. Brandt <vab at bb-c.de> wrote:> Hmmm... I run Solaris 10/sparc U4. My /usr/java points to > jdk/jdk1.5.0_16. I am using Firefox 2.0.0.16. Works For Me(TM) ;-) > Sorry, can''t help you any further. Maybe a question for desktop-discuss?it''s a java error on the server side, not client side (although there is a javascript error in every browser i tried it in, but probably unrelated or an error due to the java not executing properly) anyway - you did help me at least get the webconsole running. the zfs admin piece of it though is throwing the java error...
mike wrote:> On Sun, Sep 21, 2008 at 11:49 PM, Volker A. Brandt <vab at bb-c.de> wrote: > >> Hmmm... I run Solaris 10/sparc U4. My /usr/java points to >> jdk/jdk1.5.0_16. I am using Firefox 2.0.0.16. Works For Me(TM) ;-) >> Sorry, can''t help you any further. Maybe a question for desktop-discuss? > > it''s a java error on the server side, not client side (although there > is a javascript error in every browser i tried it in, but probably > unrelated or an error due to the java not executing properly) > > anyway - you did help me at least get the webconsole running. the zfs > admin piece of it though is throwing the java error...Can you post the java error to the list? Do you have gzip compressed or aclinherit properties on your filesystems, hitting bug 6715550? http://mail.opensolaris.org/pipermail/zfs-discuss/2008-June/048457.html http://mail.opensolaris.org/pipermail/zfs-discuss/2008-June/048550.html -- James Andrewartha
On Wed, Sep 24, 2008 at 9:37 PM, James Andrewartha <jamesa at daa.com.au> wrote:> Can you post the java error to the list? Do you have gzip compressed or > aclinherit properties on your filesystems, hitting bug 6715550? > http://mail.opensolaris.org/pipermail/zfs-discuss/2008-June/048457.html > http://mail.opensolaris.org/pipermail/zfs-discuss/2008-June/048550.htmlLoading the page in Firefox 2.x on Windows XP Pro, using URL https://192.168.1.202:6789/zfs/zfsmodule/Index I can login to the web console, my only option is zfs administration. I click on it, and the left frame displays a java error. The right frame is empty. Application Error com.iplanet.jato.NavigationException: Exception encountered during forward Root cause = [java.lang.IllegalArgumentException: No enum const class com.sun.zfs.common.model.AclInheritProperty$AclInherit.restricted] Notes for application developers: * To prevent users from seeing this error message, override the onUncaughtException() method in the module servlet and take action specific to the application * To see a stack trace from this error, see the source for this page Generated Wed Sep 24 21:38:15 PDT 2008 [root at nas02 ~]# zfs get aclinherit tank NAME PROPERTY VALUE SOURCE tank aclinherit restricted default Looks like changing that to "passthrough" worked. Thanks. I didn''t really research this much. Not enough time, didn''t -really- need it. But this will be fun to explore. Thanks for following up :)