All posts by frank

Installing .Net Framework 3.5.1 on Server 2008

How to install .Net framework 3.5.1 on Server 2008 or Server 2012

NOTE: Installing the .Net framework 3.5.1 on Windows Server 2008 or Windows Server 2012 is a very easy process, but can be difficult to find.

1. Navigate to “Programs and Features” from the Control Panel.
2. Go to the “Featured” section in 2008, or “page” on 2012.
3. Locate and select “.Net Framework 3.5.1” from the list and check the box beside it.
4. Click “Next” and let it install.

Installing Zpanel 10.1.0 and Prerequisites on Windows Server 2008 R2

Follow this link for the Latest stable release (10.1.0) of Zpanel

Prior to installing ZPanel on a Microsoft Windows based machine you must first ensure you have installed all recent versions of the Microsoft Visual Studio Runtime, ZpanelCP.com has provided all the required runtime installers for both 32 bit machines and 64 bit machines (use the links to download from our site!)

Installers for Microsoft Windows

Pre-Installation Checklist

  1. You MUST have a CLEAN, FRESH install of Windows (any version XP and above)
  2.  You MUST have a domain name registered and pointing to your server computer IP
  3. ZPanel should be installed and setup on a SUB-DOMAIN of your main domain: During installation you will be asked to enter an FQDN. This is the sub-domain zpanel is to be installed on. Examples: zpanel.domain.com, cp.domain.com, panel.domain.com, etc.
  4. You MUST have opened and forwared the requireds ports in your modem or router, and on the server firewall. See the list of required ports here.

Windows server 2012 specifics

  • do a fresh install of windows.
  • if not set automatically (often in datacenter), set your static IP
  • do all windows updates (may need to be launched a few times!)
  • install .NET Framework 3.5 and redo updates
  • go to http://www.microsoft.com/en-us/download/details.aspx?id=5555, download and install
  • reboot windows and then install zpanel, as below:

Installing ZPanel 10.1.0 on Windows

It requires 3 steps :

  1. Install Microsoft Visual C++ Runtime libraries:
  1. Install the Application Stack (Apache, PHP, MySQL etc.) Installer for Microsoft® Windows™ -> Download link
  2. Run the ZPanel Installer (installs ZPanel on top of the Application Stack) -> Download link

Each step requires that the previous steps have been completed with success first.

ZPanel does not setup any firewall to leave you the choice to select which you want and because it is far different under Linux and Windows.

You have to open these ports to enable the default configuration of ZPanel to work:

20 & 21 : FTP
25 (TCP) : SMTP
53 (TCP & UDP) : DNS
80 (TCP & UDP) : HTTP
110 : POP3
143 : IMAP
Optional:
If you have already setup (or will setup soon) SSL, you have to open also: 443 : HTTPS

If you use Windows RDP you should open 3389.

Rebuild Degraded Raid Mirror on DeLL PowerEdge 840 having a SAS5/IR Controller

This article contains step by step instructions for rebuilding a degraded Raid-1 (Raid Mirror) on an LSI / Dell SAS5/IR Controller. More specifically, this article concerns Raid mirrors on the SAS5 IR controller (and the server model is not important). If your server’s Raid mirror is in a degraded state because one of the two disk drives has failed, then you need to replace the failed drive with a compatible new drive and synchronize the Raid Mirror until its status is optimal.  You can determine if the RAID Array is degraded by booting to the Raid Configuration Utility. At server start-up, press CTRL+C to enter the Configuration Utility for the Raid Controller card.  See more specific instructions in “Check Raid Array Status” below.

Disclaimer of Warranties and liability: By using any of the information in this Article, you assume all risks of data loss, injury and damages of every kind and nature, including without limitation all incidental and consequential damages, such as downtime, opportunity costs and lost profits. The information appearing in this article is published without any warranty whatsoever. All express, statutory and implied warranties are hereby disclaimed. Specifically, the implied warranties of merchantability and fitness for particular purpose are disclaimed.

Please consider making a small donation to the author via PayPal if this article was helpful to you, saved you time, money and aggravation, saved trashing your expensive server, or just because no other posts on the net had the answers that you needed — only more unanswered questions and confusion! You’re donation will help defray website hosting costs. Thank you.




Mostly all articles and forum posts addressing this exact subject will recommend that you contact Dell technical support for assistance in understanding the instructions in the Dell SAS5 User Guide. Good luck finding a tech who understands what you are trying to do and who also realizes that the Dell User Guide contains no real help and actually offers misinformation.

BACKUP IMAGE OF DRIVE:  If you have Pre-Install Environment (PE) software CD, like a WIN-PE CD or Bart’s Reatogo version of X-PE CD , then you can and should start the server into some NT-based Operating System from the PE CD and use Symantec Ghost 8 or Acronis true image to create a backup image of the degraded but working primary disk (in case something goes wrong with the sync or rebuild of the Raid Mirror).

CHECK RAID ARRAY STATUS:  To enter the Raid Configuration Utility, power-on the Server and press CTRL-C early during the boot process while the video screen shows that the Raid Card is being initiated. Be ready to press CTRL+C keys simultaneously. If you wait too long to press CTRL+C while the Raid Card is being initiated during POST, then the Operating System may begin to load. In this case, you would need to let the operating system load completely, and then perform a normal shut down / restart in order to try CTRL+C again during POST in order to access the Raid Configuration Utility.

When the Raid Configuration Utility loads, then select the existing Raid Array and press the “Enter” key to begin managing the Array.  Example of Array – “SAS1068”

Select “RAID Properties” to view Disks and Array Properties and status.

If the Array is a Raid-1 (Mirror), then it will show as type “IM” (integrated mirror).  If the Array is Degraded, it might show the following:

Primary Drive – Degraded
Secondary Drive – “Missing”

(Note: Remove the “missing” hard drive and put it into an External SATA / USB drive caddy to test whether the drive is accessible). Connect the USB SATA External Drive caddy to an operating desktop to see if the hard drive is accessible. This article addresses re-synchronizing the Raid mirror when the second drive in the mirror has failed. It does not face what works if the first drive on the mirror fails. In other words, I can only speculate, but my intuitive guess is that you probably do NOT want to flip the physical location of the good drive merely to put it into the first SATA slot, thinking that this might somehow “help” the Array boot better or that the first SATA location would necessarily become the “source” rather than the “target” during the “synch” of the mirror. Note that in most controller configurations, the hard drives normally report themselves as being in positions “0” and “1” and not as “1” and “2.” So, the “00” position would be the first drive on the mirror, and the “01” position would be the second.

REPLACE THE FAILED DRIVE BY INSTALLING A COMPATIBLE NEW DRIVE.  Shut down the operating system and power-off the Dell server.  IMPORTANT:  Make sure that the server’s power cable is connected to an UPS battery back up because synchronization cannot be interrupted by a power failure that will shut down the machine. Replace the Secondary Drive with a Brand New Drive of the same type and size (or larger capacity).  It is recommended to use a drive wth the same size Cache and same Make and Model Hard Drive.  My Primary Drive (Degraded) was Western Digital 500GB SATA II (300Mb/sec) 7200RPM RE2 with a 16MB Cache.  I replaced the Secondary Drive with a brand new (no boot record) Western Digital 500GB SATA II (300Mb/s) 7200RPM RE3 with a 16MB Cache. Both drives are enterprise class.  Buy the Revision 3 (RE3) from www.goharddrive.com. I paid $50 with free ground shipping and my HD arrived in 2 business days in the USA. By the way, I obtained this affiliate link to www.goharddrive.com for referrals because they have good prices, quick delivery and you’ll probably buy there.

G01-0294

REBUILDING / SYNCHRONIZING THE DEGRADED ARRAY.  Start / Power-on the 840 Server and Press CTRL+C to invoke the Raid configuragion utility again. Select the Array name and press “Enter” key. Select “Array Properties,” and noticed that the Secondary Drive will still be reported as MISSING.  Contrary to the SAS5/IR User’s Guide, the existing Raid Array will NOT automatically begin to synchronize or rebuild.   The option to Sychronize Array will be shown in the menu list but it will be grayed-out.  However, the option to Manage Hot Spare will be available.  Contrary to the SAS5/IR User’s Guide, the hot spare is actually supported when a drive drops-off the Array.  In other words, the option to manage hot spare and add hot spare to the array is available when you are adding the second brand new drive to the existing raid mirror array.  The hot spare option is not supported on SAS5/IR for adding a third drive (spare) to an existing Raid Mirror whose status is “Optimal.”

HOW TO INITIATE SYNCHRONIZATION:  In order to commence synchronization from the primary virtual drive (i.e from the degraded array) which will SYNC-over to the brand new secondary physical drive, you must select “Manage Hot Spare.”  On the next menu, you will see for the first time that the Secondary Physical Drive is Actually DETECTED.  The secondary drive should show a few extra MB disk size than the existing primary virtual drive on the degraded mirror.  Use the down-cursor key to move down to the row for the secondary drive, then use the right-cursor key to move over to the HOT SPARE column and press the spacebar in order to change/toggle “NO” to “YES” under the Hot Spare Column for the brand new Secondary physical Drive.  With the secondary showing YES for Hot Spare, then Press C to commit changes to the Array.  Press F3 to confirm committing this change to the Array.  DO NOT CHANGE MENU SCREENS UNTIL AFTER THE “SYNC” IS COMPLETED 100%.

After committing the change to Hot Spare, you will see a menu screen that says:

LSI Corporation Configuration Utility For Dell SAS 5 v6.12.05.00 (2007.09.29)
Manage Array — SAS1068

Identifier:  Dell VIRTUAL DISK 1028
Type:          IM
Scan Order:  0
Size (MB)   476837
Status         0% Syncd

Manage Hot Spare (will be grayed-out)
Synchronize Array (Is available but DO NOT SELECT IT)
Activate Array (will be grayed-out)
Delete Array (Is available but NO NOT SELECT IT)

IMPORTANT:  The Array will take a LONG TIME to achieve a 1% synchronization.  It takes such a long time that it may seem that sync has not begun.  However, SYNC HAS BEGUN!!!  Do NOT exit this current menu screen until SYNC is complete.   Let the synchronization run for as long as it takes to reach 100%.

2014-01-28 19.49.05

2014-01-28 22.12.17

Copyright © 2014, Sunsky Network Inc., All rights reserved. You may NOT republish this article in whole or in part without the express written consent of the author. However, you do have permission to provide a link to this article URL from your website, blog or forum post provided that you give due credit to the author.

Fix for WordPress Fitness Tracker Plugin — (Solved)

When adding fitness data using the WordPress Fitness Tracker Plugin, you might receive this error message: “You don’t have sufficient privileges to perform this action …”

The fitnesstracker.php file of this WordPress plugin contains two incorrect references to the plugin sub-directory. The plugin directory should be /wp-fitness-tracker/ instead of /fitnesstracker/.

FIX: Use a good text editor like notepad++ to open the php file fitnesstracker.php. First, make a backup of the original fitnesstracker.php file. Edit lines 61 and 84 of original fitnesstracker.php to change these references:

page=fitnesstracker/fitnesstracker.php

should be changed to this:

page=wp-fitness-tracker/fitnesstracker.php

Then, save the file with these changes.  These modifications should eliminate the error message and allow the page of previously input data to properly display.

CalRunnerPluginSettingsWordPress

Give credit to ClaytonJames for this fix.