Database upgrade loop when upgrading WordPress

When I performed an upgrade to WordPress 3.2.1 the upgrade went fine, but when trying to Login to the site it prompted for a Database Upgrade. After executing this, it would result in a blank screen with just the WordPress logo and nothing else.

To fix the problem I had to temporarily remove the file object-cache.php from the wp-content directory and restart the web application. Once I did this the database upgrade worked fine.

It appears the database upgrade process doesn’t like Wincache 1.1, however upgrading Wincache to 1.2.614.0 may possibly fix the problem. Download location: http://sourceforge.net/projects/wincache/files/development/

Posted in Wordpress | Leave a comment

CallerID not displaying on Draytek 2830Vn

I had an issue where CallerID would not display on my phone when a call came in via PSTN on a Draytek 2830Vn ADSL router (firmware 3.3.6_beta). It would display correctly when a call came in over VoIP.

Draytek support advised me to run the following command from a telnet session to the router, which fixed the problem for me.

voip dsp relaydbounce off

Posted in ADSL | 1 Comment

Publishing PRTG Network Monitor through TMG 2010

I encountered an issue where certain graphs would not display at all when accessing PRTG Network Monitor 8.4.1.2282 on the outside of a Microsoft TMG 2010 firewall, and an error would be displayed every minute or so when I was connected to the site. If I accessed the PRTG site on the inside of the firewall, all graphs were displayed fine and no errors were shown.

The error displayed in the web browser was:

From the TMG logs I could see some http traffic getting blocked and the following error recorded:

Blocked by the HTTP Security filter: URL normalization was not complete after one pass

Upon identifying the error, I figured that it was related to one of the HTTP filtering settings on the publishing rule that publishes the site through TMG. On the Traffic tab for the rule in TMG, select the Filtering -> Configure HTTP button to display the following page:

To fix the problem I turned off the Verify Normalization setting which changes the way TMG handles URLs with a lot of escaped characters such as % (which was heavily used in some of the PRTG Network Monitor web pages having problems).

A description of the Verify Normalization feature can be found on this page : http://technet.microsoft.com/en-us/library/cc302627.aspx

I assume this problem would exist on ISA 2004/2006 in addition to TMG 2010 as they all operate in a similar way.

Posted in Microsoft Server | Leave a comment

Draytek SNMP OIDs for Monitoring

Vigor Routers support MIB II. Please download the standard MIB II and ADSL-LINE-MIB.

The items below are the ADSL-LINE-MIB that Vigor Routers support.

OID for supported ADSL LINE MIB

———————————————————-

1.3.6.1.2.1.10.94.1.1.1.1.1 adslLineCoding
1.3.6.1.2.1.10.94.1.1.1.1.2 adslLineType
1.3.6.1.2.1.10.94.1.1.1.1.3 adslLineSpecific
1.3.6.1.2.1.10.94.1.1.1.1.4 adslLineConfProfile
1.3.6.1.2.1.10.94.1.1.1.1.5 adslLineAlarmConfProfile

1.3.6.1.2.1.10.94.1.1.3.1.1 adslAturInvSerialNumber
1.3.6.1.2.1.10.94.1.1.3.1.2 adslAturInvVendorID
1.3.6.1.2.1.10.94.1.1.3.1.3 adslAturInvVersionNumber
1.3.6.1.2.1.10.94.1.1.3.1.4 adslAturCurrSnrMgn
1.3.6.1.2.1.10.94.1.1.3.1.5 adslAturCurrAtn
1.3.6.1.2.1.10.94.1.1.3.1.6 adslAturCurrStatus
1.3.6.1.2.1.10.94.1.1.3.1.7 adslAturCurrOutputPwr
1.3.6.1.2.1.10.94.1.1.3.1.8 adslAturCurrAttainableRate

1.3.6.1.2.1.10.94.1.1.5.1.1 adslAturChanInterleaveDelay
1.3.6.1.2.1.10.94.1.1.5.1.2 adslAturChanCurrTxRate
1.3.6.1.2.1.10.94.1.1.5.1.3 adslAturChanPrevTxRate
1.3.6.1.2.1.10.94.1.1.5.1.4 adslAturChanCrcBlockLength

Above information is courtesy of www.draytek.com.

Posted in ADSL | Leave a comment

Billion 7404VGPM SNMP OIDs for Monitoring

PPP uptime is 1.3.6.1.2.1.2.2.1.9.6 but the value returned is in timeticks. timeticks are 100ths of a second since system boot time.

system uptime – (timeticks/100) = ppp uptime

Downstream:
SNR: 1.3.6.1.2.1.10.94.1.1.2.1.4.3
Attenuation: 1.3.6.1.2.1.10.94.1.1.2.1.5.3
Sync Speed: 1.3.6.1.2.1.10.94.1.1.4.1.2.3

Upstream:
SNR: 1.3.6.1.2.1.10.94.1.1.3.1.4.3
Attenuation: 1.3.6.1.2.1.10.94.1.1.3.1.5.3
Sync Speed: 1.3.6.1.2.1.10.94.1.1.5.1.2.3

Traffic: Upstream/Downstream:
InOctects = 1.3.6.1.2.1.2.2.1.10.6 (Downstream)
OutOctects = 1.3.6.1.2.1.2.2.1.16.6 (Upstream)

Posted in ADSL | Leave a comment

Steps to setup a new FTP site in IIS 7.5

Assuming the FTP Virtual server has been configured already, setup access to a new site as follows:

  1. ​Under the settings for the Web Server (Root node) select IIS Manager Users and create and enable a new user.
  2. Under the Root FTP Site (Virtual Server) select IIS Manager Permissions and add the user you created in the previous step.
  3. Create a virtual directory under the Root FTP site/LocalUser for the user (must match username).
  4. Click on the created virtual directory and in the right pane select FTP Authorization Rules and add the user with Read/Write permissions.

That’s it!

Posted in Microsoft Server | Leave a comment

WordPress updates failing

The fix the problem of WordPress updates not working do the following :-

Give the IUSR account modify permissions to the wordpress folder on your web site.

Posted in Wordpress | Leave a comment

Add script mappings for Perl after ActivePerl Installation (IIS 7.5 64-bit)

Run the following commands:

C:\Perl64\bin>ap-iis-config list sites (to get the list of sites and their numbers)

ap-iis-config add map –ext .pl –site <sitenumber> –type cgi
Posted in Microsoft Server | Leave a comment

FTP User Isolation in IIS 7.5

To configure the IIS Manager FTP Users and FTP User Isolation in IIS 7.5 I followed the following articles….

http://learn.iis.net/page.aspx/305/configuring-ftp-75-user-isolation/

http://learn.iis.net/page.aspx/321/configure-ftp-with-iis-7-manager-authentication/

Posted in Microsoft Server | Leave a comment

Moving SharePoint content databases to another installation

Steps I followed to move my SharePoint (WSS v3) Content Databases to SharePoint 2010 on another server (including upgrade) were:-

  1. Detach DB from SQL2008 on original server using SQL Management Studio.
  2. Copy the .mdf and .ldf files for the content database to the DB folder on the new server.
  3. Attach DB to new SQL 2008 R2 server using SQL Management Studio.
  4. Create web application in SharePoint 2010 Central Administration using the same URL as the original site (must be exact name).
  5. After the site has been created successfully, delete its default content database from SharePoint Central Administration.
  6. Copy the SSL certificate (including private key) from the original server to the new server and import into the Certificates/Local Computer store.
  7. Configure the IIS Bindings (IP Address, SSL, Host Headers, Ports) for the new SharePoint web site.
  8. Run the powershell command from the SharePoint Management Shell to attach the DB to the web application in SharePoint 2010. This process also upgrades the database. ( Mount-SPContentDatabase -Name STS_<name>_848357356 -DatabaseServer <servername> -WebApplication https://sp.<domain>.com/ -Updateuserexperience )
  9. Configure the correct Alternate Access Mappings (AAM) for the site in SharePoint Central Administration.
  10. Change the Web Publishing Rule on the TMG server to point to the new SharePoint server.

That’s it!

Posted in Microsoft Server | Leave a comment