From: Jamie C. <jca...@we...> - 2008-04-11 17:35:54
|
On 11/Apr/2008 08:47 Anil wrote .. > Why is it that it won't let me install file manager module from inside > a Solaris zone? It complains that it can't install inside a shared > fs/zones. > > So, I installed in global zone and then copied the webmin/file folder > to a zone's webmin folder. However, I get this error message: > > load: class FileManager not found. > java.lang.ClassNotFoundException: FileManager > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:168) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:599) > at sun.applet.AppletPanel.createApplet(AppletPanel.java:723) > at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1818) > at sun.applet.AppletPanel.runLoader(AppletPanel.java:652) > at sun.applet.AppletPanel.run(AppletPanel.java:326) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.io.IOException: open HTTP connection failed. > at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155) > ... 9 more > basic: Exception: java.lang.ClassNotFoundException: FileManager > > I really wish there was an easier way to use webmin > (usermin/virtualmin) from inside zones! I've had several problems with > it so far. > > Is there a best practices guide to deploying webmin on a server with > lots of zones? (hosting) In my experience, it should just work like it does in the global zone. Do you have the Webmin directory mounted from the global zone? This is what triggers that error about not being able to install modules. As for the file manager issue, if you manually copied it across, make sure you copy the /etc/webmin/file directory too. - Jamie |