Date: Sun, 23 Jan 2005 00:07:31 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 392 ************************************************** Saturday 22 January 2005 Number 392 ************************************************** Subjects for today 1 Re: Webmin update : Dave Yeo" 2 Re: Webmin update : John Poltorak 3 Re: Webmin update : Lyn St George" 4 Re: Webmin update : John Poltorak 5 Re: Webmin update : Lyn St George" 6 Re: Webmin update : John Poltorak **= Email 1 ==========================** Date: Fri, 21 Jan 2005 19:51:48 -0800 From: "Dave Yeo" Subject: Re: Webmin update On Thu, 20 Jan 2005 11:55:09 +0000, John Poltorak wrote: > >I've updated the Webmin build script so that it is no longer interactive >and so, IMV, makes it easier to set up in the first place. > >If you run ux2_refresh it should retrieve the latest build_webmin.cmd and >anything else which has been updated since you took a snapshot of UX2BS. >Be aware that if you have altered any files such as build.table or any of >the existing scripts yourself, they may get overwritten, so be sure to do >a backup first, if necessary. Tried running build webmin. It died here Installing Webmin from /unixos2/workdir/webmin-1.170 to /usr/local/webmin ... *********************************************************************** Webmin uses separate directories for configuration files and log files. Unless you want to run multiple versions of Webmin at the same time you can just accept the defaults. Config file directory [/etc/webmin]: Log file directory [/var/webmin]: mkdir: ca nnot make directory `/var/log//webmin': No such file or directory ERROR: Failed to create directory /var/log//webmin Notice the double / in var/log//webmin. Its a small bug in the script, line 9 Then it died with Config file directory [/etc/webmin]: Log file directory [/var/webmin]: mkdir: ca nnot make directory `/var/log/webmin': No such file or directory ERROR: Failed to create directory /var/log/webmin This could be fixed by creating /var then /var/log then /var/log/webmin but I don't see where you created them. I manually created them Also maybe that typo in line 9 isn't a problem? Anyways the build finished, /etc/webmin/start seems to of worked but I can't log in. Hmm, succeeded at logging in at 127.0.0.1:10001 instead of the expected port 10000. Seems to be working OK though it is somewhat slow though not as slow as under Ubuntu Linux (compiled for P4 IIRC) Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sat, 22 Jan 2005 10:42:12 +0000 From: John Poltorak Subject: Re: Webmin update On Fri, Jan 21, 2005 at 07:51:48PM -0800, Dave Yeo wrote: > On Thu, 20 Jan 2005 11:55:09 +0000, John Poltorak wrote: > > > > >I've updated the Webmin build script so that it is no longer interactive > >and so, IMV, makes it easier to set up in the first place. > > > >If you run ux2_refresh it should retrieve the latest build_webmin.cmd and > >anything else which has been updated since you took a snapshot of UX2BS. > >Be aware that if you have altered any files such as build.table or any of > >the existing scripts yourself, they may get overwritten, so be sure to do > >a backup first, if necessary. > > Tried running build webmin. It died here > Installing Webmin from /unixos2/workdir/webmin-1.170 to /usr/local/webmin ... > > *********************************************************************** > Webmin uses separate directories for configuration files and log files. > Unless you want to run multiple versions of Webmin at the same time > you can just accept the defaults. > > Config file directory [/etc/webmin]: Log file directory [/var/webmin]: mkdir: ca > nnot make directory `/var/log//webmin': No such file or directory > ERROR: Failed to create directory /var/log//webmin > > Notice the double / in var/log//webmin. Its a small bug in the script, line 9 > Then it died with > Config file directory [/etc/webmin]: Log file directory [/var/webmin]: mkdir: ca > nnot make directory `/var/log/webmin': No such file or directory > ERROR: Failed to create directory /var/log/webmin > > This could be fixed by creating /var then /var/log then /var/log/webmin but I don't see where you created them. I manually created them > Also maybe that typo in line 9 isn't a problem? Yes, I'm aware of the problem and should have mentioned it in my previous msg. It actually wouldn't be a problem for a new UX2BS user since I've changed the initial install script to create \var\log so that it would exist by the time they built webmin. > Anyways the build finished, /etc/webmin/start seems to of worked but I can't log in. Hmm, succeeded at logging in at 127.0.0.1:10001 instead of the expected port 10000. > Seems to be working OK though it is somewhat slow though not as slow as under Ubuntu Linux (compiled for P4 IIRC) The default port number of 10000 is overridden by the webmin build script which you can see in scripts\build\build_webmin.cmd. The reason I've done this is so that you can easily see how to modify your own setup. I've also set it up so that it can only by accessed from the local machine otherwise you could end up provide external access to everyone on the Internet! Feel free to change any of the variables to suit your own environment. At this point in time I can't get any of the modules installed to work and some don't even show up so that needs some additional work. In particular I'd like to get the CPAN modules working and I'd also prefer to have Webmin working under SSL but so far haven't mastered what is required. It would be nice to get the Apache module working too. > Dave -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sat, 22 Jan 2005 11:06:23 +0000 (GMT) From: "Lyn St George" Subject: Re: Webmin update On Sat, 22 Jan 2005 10:42:12 +0000, John Poltorak wrote: >At this point in time I can't get any of the modules installed to work and >some don't even show up so that needs some additional work. In particular >I'd like to get the CPAN modules working and I'd also prefer to have >Webmin working under SSL but so far haven't mastered what is required. CPAN is proving a right royal PITA. For SSL it should be just a matter of putting: ssl=1 in /etc/webmin/miniserv.conf, and ensuring that Net::SSLeay is installed and available >It would be nice to get the Apache module working too. Works here - config is set to /usr/apache/bin/httpd.exe for the executable, and it reads and writes /usr/apache/conf/httpd.conf without trouble (this is only in testing; I usually edit httpd.conf by hand). What happens on yours? - Lyn _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Sat, 22 Jan 2005 11:33:08 +0000 From: John Poltorak Subject: Re: Webmin update On Sat, Jan 22, 2005 at 11:06:23AM +0000, Lyn St George wrote: > On Sat, 22 Jan 2005 10:42:12 +0000, John Poltorak wrote: > > >At this point in time I can't get any of the modules installed to work and > >some don't even show up so that needs some additional work. In particular > >I'd like to get the CPAN modules working and I'd also prefer to have > >Webmin working under SSL but so far haven't mastered what is required. > > CPAN is proving a right royal PITA. I have a suspicion that there is something wrong with my Perl build but can't figure out what... > For SSL it should be just a matter of putting: > ssl=1 > in /etc/webmin/miniserv.conf, and ensuring that Net::SSLeay is > installed and available Yes but you really ought to have the CPAN module working to be able to do this. > >It would be nice to get the Apache module working too. > > Works here - config is set to /usr/apache/bin/httpd.exe for the > executable, and it reads and writes /usr/apache/conf/httpd.conf > without trouble (this is only in testing; I usually edit httpd.conf by > hand). What happens on yours? You've probabably done something with the Apache module or your environment to enable it to get installed. AIUI the module.info file will only install modules if the os_support line includes the OS which Webmin is running on. The cpan and postgresql modules which I have included in the automated install do not include this line so are not excluded but the rest are. How do you get round this? > - > Lyn -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Sat, 22 Jan 2005 11:57:44 +0000 (GMT) From: "Lyn St George" Subject: Re: Webmin update On Sat, 22 Jan 2005 11:33:08 +0000, John Poltorak wrote: > >> >It would be nice to get the Apache module working too. >> >> Works here - config is set to /usr/apache/bin/httpd.exe for the >> executable, and it reads and writes /usr/apache/conf/httpd.conf >> without trouble (this is only in testing; I usually edit httpd.conf by >> hand). What happens on yours? > >You've probabably done something with the Apache module or your >environment to enable it to get installed. > >AIUI the module.info file will only install modules if the os_support line >includes the OS which Webmin is running on. > >The cpan and postgresql modules which I have included in the automated >install do not include this line so are not excluded but the rest are. > >How do you get round this? Now you've put me on the spot I probably lied to Webmin. I would need to reinstall it somewhere to check this, but the proper fix would be to patch every module.info to include OS/2. I'll play with this later tonight, as I vaguely recall something about the oschooser.pl also being patched at one time. - Lyn _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Sat, 22 Jan 2005 12:20:40 +0000 From: John Poltorak Subject: Re: Webmin update On Sat, Jan 22, 2005 at 11:57:44AM +0000, Lyn St George wrote: > On Sat, 22 Jan 2005 11:33:08 +0000, John Poltorak wrote: > > > > >> >It would be nice to get the Apache module working too. > >> > >> Works here - config is set to /usr/apache/bin/httpd.exe for the > >> executable, and it reads and writes /usr/apache/conf/httpd.conf > >> without trouble (this is only in testing; I usually edit httpd.conf by > >> hand). What happens on yours? > > > >You've probabably done something with the Apache module or your > >environment to enable it to get installed. > > > >AIUI the module.info file will only install modules if the os_support line > >includes the OS which Webmin is running on. > > > >The cpan and postgresql modules which I have included in the automated > >install do not include this line so are not excluded but the rest are. > > > >How do you get round this? > > Now you've put me on the spot > I probably lied to Webmin. I would need to reinstall it somewhere to > check this, but the proper fix would be to patch every module.info > to include OS/2. I'll play with this later tonight, as I vaguely recall > something about the oschooser.pl also being patched at one time. I'd like the option of OS/2 being selected non-interactively if that is possible... Also what string should be used to identify OS/2? - os2? I guess simply appending ' os2' to the end of the os_support line in every module.info file which contains this line should be sufficient to show that this module is supported, but I think something else would need to be done too but I can't think what... > > - > Lyn -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs