can not send email from your linux box ?

1. Check /var/log/mail.log and see what the error
2. If you see this “postdrop: warning: unable to look up public/pickup: No such file or directory”
Do this :
# /etc/init.d/sendmail stop

# mkfifo /var/spool/postfix/public/pickup

# /etc/init.d/postfix restart

3. If you get 550 verification error

edit file /etc/postfix/main.cf

Change the servername to full dns name for ex: servermail to servermail.yourdomain.com
verify servermail.yourdomain.com from public internet

Read More

New release – V3.6 is available for public

What’s new:
– Improve the performance , the time to complete the scan now is 50% faster than before.
– Fix some device id

Read More

Linux: Move mysql data files to new location

Want to change the default mysql data_dir  (/var/lib/mysql) to new location (new partition, new disk ?)

Steps to do:
1. stop mysql ( /etc/init.d/mysql stop)
2. copy your mysql data directory to new location ( mv /var/lib/mysql/ /newlocation/mysql/)
3. chown -R mysql:mysql /newlocation/mysql
4. edit file /etc/mysql/my.inf ( change data_dir location)
5. edit file /etc/apparmod.d/usr.sbin.mysqld (change /var/lib/mysql to your new location)
6. start mysql (/etc/init.d/mysql start)

Read More

Apache – how to check if a module installed

You can run the following command to see what Apache module is loaded
apachectl -t -D DUMP_MODULES

or,

httpd -t -D DUMP_MODULES

Read More

Happy Thanks Giving

I am pleased to extend to you, on behalf of myself and the whole DriverIdentifier Team, wishes for a very Happy Thanksgiving and an enjoyable holiday season.

Read More

How to install the driver

To install all the drivers are ready, we can begin to install the driver. Driver installation methods there are many, following slowly from easy to difficult to see.
1. The easiest one – From Installation Disk –  Install from setup.exe

Now hardware vendors have increasingly focused on the humanity of its products, including the installation of the driver simplification, where so many drivers come with a “Setup.exe” to executable file, simply double-click it, then all the way “Next (Next)” to complete the driver installation. Some hardware vendors provide drivers joined the Autorun CD files from the start, as long as the CD into the computer’s optical drive, the CD will start automatically.

 

Then click the appropriate starting interface name of the driver can automatically start the installation process, this very user-friendly design makes installing the driver is pretty easy.

 

2. Manual Install

Installing drivers from CD is a traditional and most used approach to install required drivers as you can get thousands of drivers in a single CD and you don’t even need an Internet connection for installing drivers from a CD.

Right Click on “My Computer” from desktop and go to “Properties” from the menu.
Click on Hardware and then on Device Manager
You will see a yellow icon alongside un-installed drivers.

Right Click on that Yellow icon and select “Update Drivers”

Now, a new box will appear with couple of options, check the Last option and click on NEXT.

From the next page, click on NEXT again.


Now, Select the location you keep the drivers ( where the .inf file located)


After Installation, Click on Finish and Restart your computer.
Thats it!

Read More

Accessing files from System32 directory using 32 bit application on 64 bit machine

Problem:

I am trying to access few files from C:\Windows\System32\Winevt on Windows 7 – 64 bit machine through .net application.

When I build my application in 32 bit , I am not able to access this Winevt directory. It complians about directory not found.
But If I build my application in 64 bit mode, I am able to access this directory without any problem.

Do I have to do anything special to access this directory using 32 bit application on 64 bit machine?

Reason:

a computer that is running a 64-bit version of Windows Server 2003 or of Windows XP, a 32-bit application cannot access the following folder: %WinDir%\System32

This behavior occurs because Windows on Windows 64-bit (WOW64) provides file system redirection.
In a 64-bit version of Windows Server 2003 or of Windows XP, the %WinDir%\System32 folder is reserved for 64-bit applications. When a 32-bit application tries to access the System32 folder, access is redirected to the following folder:
%WinDir%\SysWOW64
By default, file system redirection is enabled.

Solution:

As a walk-around solution, 32-bit applications can access the native system directory by substituting %windir%\Sysnative for %windir%\System32. WOW64 recognizes Sysnative as a special alias used to indicate that the file system should not redirect the access.
So, if we want to access C:\Windows\System32\Winevt folder from 32-bit application, we can use C:\Windows\Sysnative\Winevt instead.

Read More

Tutorial Videos

We created some basic video tutorial to help you using Driver Identifier easier.
You can see them here at.
http://www.driveridentifier.com/video.php

Read More

DriverIdentifier 3.5

We’re pleased to announce the new version of DriverIdentifier is available to download. We’ve been making great headway with development and thanks to everyone who’s reported bugs or suggested features! 🙂

Change log:

Improve the driver scanning process.
Lots of UI tweaks and bug fixes.

Read More

How to disable email with cronjobs

By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .

>/dev/null 2>&1

For example:
* 1 * * * php /www/daily.php >dev/null 2>&1

Read More