ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, September 12, 2012

Cannot get font metrics for '/var/www/html/qatraq_7/lib/html2pdf/fonts/arialuni.ttf'

Posted on 2:43 AM by Unknown
Error through by QaTraq.

Solution:-

Font name :-  arialuni.ttf
Download from :- http://code.google.com/p/ipwn/downloads/detail?name=arialuni.ttf&can=2&q=

Font Dir :- where i installed.
/var/www/html/qatraq_7/lib/html2pdf/fonts
After that work fine.

Enjoy

KEEP IT SIMPLE
Read More
Posted in | No comments

Tuesday, September 11, 2012

How to check Badblock in linux machine/Server

Posted on 12:23 AM by Unknown
Bad Sector  on hard disk cannot be used, Damage kind of physical damage.

Two way to find Bad sector. GUI & Command

In Fedora , you can find option under

Application > Accessories > Disk Utility.

Here you can see complete status of HDD.


Through Command line.

[root@ramank ~]# badblocks -v /dev/sda2

Checking blocks 0 to 511999

Checking for bad blocks (read-only test): done                               

Pass completed, 0 bad blocks found.


If you found any badblock, mark these bad sector as unusable.

Steps for that.

#badblocks /dev/sda2 > /tmp/badsector

After

#cd /tmp/

#fsck -1 badsector /dev/sda2


 1    - Filesystem errors corrected


Enjoy...


Read More
Posted in | No comments

How to create Bridge in Linux

Posted on 12:02 AM by Unknown
In my example i am using, CentOS 6.3 64bit.

Use following steps to create Bridge.

Make Susre Bridge PKG is installed.

# rpm -qa | grep bridge
bridge-utils-1.2-9.el6.x86_64

If not then installed by YUM

# yum install bridge-utils

After installation, go under network Dir.

cd /etc/sysconfig/network-scripts

Here choose your NIC, on which you want to create Bridge. I am using p3p1 (PCI  4 port card )

Do the following setting

[root@*****2 network-scripts]# vi ifcfg-p3p1
DEVICE="p3p1"
HWADDR="00:1B:21:3A:98:F8"
ONBOOT="yes"
BRIDGE=br1











Save the file.  Now open/create br1

[root@inf1basevm02 network-scripts]# vi ifcfg-br1
DEVICE="br1"
ONBOOT="yes"
TYPE=Bridge
IPADDR=10.131.11.190
NETMASK=255.255.255.0
GATEWAY=10.131.11.254


Save the file, Now just restart the services.

#/etc/init.d/network restart


Command to check.

 brctl show
bridge name    bridge id        STP enabled    interfaces
br1        8000.001b213a98f8    no        p3p1





Read More
Posted in | No comments

Sunday, September 2, 2012

Install phpMyAdmin on CentOS 5.7

Posted on 10:19 PM by Unknown

To install PhpMyadmin, 1st download the latest edition from Sites.

Command which i used for Download under /opt folder.


1) wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.2.2/phpMyAdmin-3.5.2.2-english.zip/download

After that Unzip the download file.

2) unzip phpMyAdmin-3.5.2.2-english.zip

 Move this folder under your web server setting with name change.

3) mv phpMyAdmin-3.5.2.2-english /var/www/html/phpmyadmin

Now change the group owner permission, make sure same as your web.

4) chown -R apache.apache phpmyadmin/

Change Dir for configuartion.

5) cd /var/www/html/phpmyadmin

Copy the configuration file.

6) cp config.sample.inc.php config.inc.php

Do the following changes under config.inc.php

7) vi config.inc.php

line number 29
 /* Authentication type */
      $cfg['Servers'][$i]['auth_type'] = 'cookie';

Change to

/* Authentication type */
      $cfg['Servers'][$i]['auth_type'] = 'http';


Save file

Now restart web services.

8) /etc/init.d/httpd restart

Now open Browser and open this url.

http://10.131.11.123/phpmyadmin/

P.S = 10.131.11.123 is my local server where i install phpmyadmin.


Now its pop-up for login username/password.

Enter your Database  credential for login.


Imporatnat point need to note:-

1) check your Iptabels. (no firewall)

2) Selinux should be disabled.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • response to SOA query was unsuccessful: solved
    check your zone file [root@inf1sysadm1 data]# pwd /var/named/data # cat ind.raman.com.zone $ORIGIN . $TTL 3600 ; 1 hour ind.raman.com IN SO...
  • can't locate your x11 installation Fedora
    While install Conky, system through this error. Solution:- You need to install X11 Software Dev Package. Login on system with root user ...
  • Qmail Installation & Configuration step by step
    Tested under CentOS 5.8  64bit machine. 1)Packges which i installed for Qmail. httpd-2.2.3-76 php-5.1.6-39 perl-5.8.8 -38 gcc-4.1.2 mysql-5....
  • Dell MD3200 SAS Cabling With Diagram
    I have 2 MD3200 with SAS Ports + 2 Power Edge720. Task to connect Both DAS with Both server and make sure Both server showing  all DAS Parti...
  • It is safe to clean windows prefetch folder and registry folder ?
     It is safe to clean windows prefetch folder and registry folder ? Will this boost Windows operating system capabilities ? Many of you hav...
  • Windows 7 & Windows 8 fail to start
    Windows 7 fail to boot, what should I do? Is Windows 7 failing to boot after you installed the loader or after you just installed a fresh ne...
  • Steps how to change VolStatus in Bacula through bonsole.
    In my example MediaId=4 or Volumename=000018L4 shows volstatus is Purged. *list volumes Pool: Default +---------+------------+-----------+--...
  • Adobe Photoshop CS5 Error 16 , Adobe Photoshop CS5 Error 7
    When you install Adobe Photoshop CS5 you might get some errors. In case you get one you will see a code and a little description. Is very im...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ►  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ►  January (9)
  • ▼  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ▼  September (4)
      • Cannot get font metrics for '/var/www/html/qatraq_...
      • How to check Badblock in linux machine/Server
      • How to create Bridge in Linux
      • Install phpMyAdmin on CentOS 5.7
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2011 (36)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (7)
  • ►  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ►  January (8)
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile