Error dependency problems prevent configuration of webmin on Ubuntu 11

Webmin error while attempting to install it on ubuntu@

dpkg –install webmin_1.620_all.deb
(Reading database … 83378 files and directories currently installed.)
Preparing to replace webmin 1.620 (using webmin_1.620_all.deb) …
Unpacking replacement webmin …
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (–install):
 dependency problems – leaving unconfigured
Processing triggers for ureadahead …
Errors were encountered while processing:

The following webmin url helped to sort this error, by running the apt-get install command to manually install the dependencies missing.

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Disable Automatic Windows 8 Activation

To avoid the automatic Windows 8 activation, you can disable with this registry keys

HKLM\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation
DWORD value named Manual to 1.

Make sure it is set to 1, your system will never automatically activate itself.

Change Webmin port

I have setup webmin on one vmware to deal with some services,

Change the webmin port.

through the interface:

Webmin / Wedmin configuration / Port and Addresses

Through command line:

Navigate to /etc/webmin/miniserv.conf

vi /etc/webmin/miniserv.conf

Modify the line:  port=1000

Query the windows registry

I had the need to query the registry for a specific string, if the string is found or not then engage an action.

Within this scenario as example, it query the registry and a specified string, an action is taken if this one is not found/present.


set regpath=HKLM\Software\Microsoft\xx\
set regvalue=mystring
set regdata=1
reg query "%regpath%" /v "%regvalue%" | find /i "%regdata%"
if errorlevel 1 (
      echo Please wait blah blah......
      Start /WAIT .\myprog\install.exe
      EXIT /B /0


Suspend running vmware and switch the esx(i) off

I have been using a script for a while switching off the esxi to a certain time. Crontab in used to do it, as this post

Unfortunately, this script does not do much than poweroff the vms and switching off the esxi; As a consequence the vmware’s running at that time would have been stopped roughtly;

All the work done would have been lost, so I decided to review this script to do the following;

– List of Machines currently running
– Retrieve ID’s for each Machines
– suspend command for each IDs.
– Then Poweroff the Esx(i).

Continue reading “Suspend running vmware and switch the esx(i) off”

PHP Warning: phpinfo(): It is not safe to rely on the system’s timezone settings.

Having set the PHP Engine running on Domino Server; Any/All request to access to some PHP files filling up my log.nsf of this type of entries and warning:

PHP Warning:  phpinfo(): It is not safe to rely on the system's 
timezone settings. You are *required* to use the date.timezone 
setting or the date_default_timezone_set() function. 
In case you used any of those methods and you are still 
getting this warning, you most likely misspelled the timezone 
identifier. We selected the timezone 'UTC' for now, 
but please set date.timezone to select your timezone. 
in E:\IBM\Lotus\Domino\data\domino\html\info.php on line 4

One more thing is needed to be set into the php.ini file:

Set this line:

date.timezone = "UTC"

Or and based on your location; including the list of Supported Timezones