The Database Engine Service could not resolve the specified location

The Database Engine Service could not resolve the specified location.
You are most likely to get this error message, if you try to restore or backup a database from a UNC drive (Mapped drive)
If you deal with large databases you do not have the luxury of moving the files to local drive first then restore from there.
Your best bet is to find a way make it work.

There are many articles on the internet that give advice on how resolve this issue but most of them did not help me. The only solution that works for me countless time is the one below:

1.  Before you run the query below please make sure that the user account running SQL has Sharing  and Folder security permissions on the shared drive that contains your backups files.



(FYI: replace ycsoftware in bold with your own stuffs)

Restore database ycsoftware
from disk='\\ycsoftware\ycsoftware.BAK'
with
MOVE 'ycsoftware_data' to 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ycsoftware_data.mdf',
MOVE 'ycsoftware_log'  to  'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ycsoftware_log.mdf'

The only issue with this method is that you will not get a progress bar. You just have to let it rip.

Reference:
Restore SQL Server Database
http://blogs.techrepublic.com.com/window-on-windows/?p=454

MSDN
http://msdn.microsoft.com/en-us/library/ms186858(SQL.90).aspx

Turn on PHP Error at Runtime

Sometimes when working with PHP , it is convenient to enable error temporarily on one particular page  to troubleshoot an issue.
If you want to enable error for just one page at runtime, use one of the followings.

<?php
// report all error on that page
error_reporting(E_ALL);
...
?>

or

<?php
// Report all PHP errors
error_reporting(-1);
...
?>

or

<?php
// Same as _reporting(E_ALL);
ini_set('error_reporting', E_ALL);
...
?>

When you are done fixing the issue, you can just remove it.

Reference
http://www.php.net/manual/en/function.error-reporting.php

fatal: parameter “smtpd_recipient_restrictions (POSTFIX)

maillog error message

fatal: parameter “smtpd_recipient_restrictions”: specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit.

Like the error message states: we need to add one of the followings in the smtpd_recipient_restriction section:
check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit.

Just add it. See my smtpd_recipient_restrictions below

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination

Make sure you restart your POSTFIX server

Linux DNS Useful Websites

Linux DNS Useful Websites

If you ever tried to play with DNS, you will appreciate the following websites. DNS is just like programming the old PBX systems: you spend a great deal of time setting it up (anger, sleepless night , you name it) then you do not touch it in another 6 months or years.

Setting up DNS With Webmin
http://rimuhosting.com/support/bindviawebmin.jsp

DNS with Webmin
http://doxfer.com/Webmin/BINDDNSServer

BIND
http://www.centos.org/docs/5/html/5.2/Deployment_Guide/ch-bind.html

Centos Manual
http://www.centos.org/docs/5/

Setup DNS on Centos
http://www.lamolabs.org/blog/282/how-to-setup-a-dns-server-on-centos-5/

IBM DNS
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Frzakk%2Frzakkconceptbasic.htm