Sunday, 05 September 2010
jayeshjayan.com
Main Menu
Home
Tech Blog
Sweet Memories
Flash Album
Discussions
News
Links
Search
News Feeds
Contact Me
Home arrow Tech Blog
Newsflash

Technical Blog

mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client. 

April 13th, 2006

If PHP scripts using mysql shows the error message mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client”

Edit /etc/my.cnf and add the line ‘old_passwords’ and restart mysql service

Checking the availability of SMTPS, POPS and IMAPS. 

April 13th, 2006

Open a linux shell execute the respective command; replace the hostname with the server IP/Hostname for which you want to check the avialability of secured mail ports.

POPS - port number 995 ->

# openssl s_client -connect hostname:995

SMTPS - port number 465 ->

# openssl s_client -connect hostname:465

IMAPS - port number 993 ->

# openssl s_client -connect hostname:995

Check out this link on more informaton about securing POP and IMAP.
http://www.linux-sec.net/Mail/secure_pop3.gwif.html

Website Access error. 

April 13th, 2006

When we try to access a website we get an alert box “The document contains no data.”

Solution

Increase “MaxSpareServers” value in /usr/local/apache/conf/httpd.conf and restart the apache service.

Configuring X in FreeBSD. 

April 13th, 2006

With normal configuratiom it will not work mostly. Below are the steps for configuring X in Freebsd :-)

1 ) Become root and execute the below commands according to the presence of Xorg or XFree86 both are present. Xorg is the default one I suppose. First of all I giving the correct things or commands which are to be executed normally. And towards the end of the mail I will be giving you a recommended method for successfully doing the X configuration with 100 % sucess result.

For Xorg
—————

# Xorg -configure Configuring
# Xorg -config xorg.conf.new Testing the configuration ( If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press Ctrl+Alt+Backspace simultaneously. )

# cp xorg.conf.new /etc/X11/xorg.conf
# startx & or xdm &

For XFree86
——————–

# XFree86 -configure

# XFree86 -xf86config XF86Config.new Testing the configuration ( If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press Ctrl+Alt+Backspace simultaneously. )

# cp XF86Config.new /etc/X11/XF86Config
# startx & or xdm &

These are the basic configurations. In both case you may have to update the setting of the particular configuration file. Most of the details which you need to update would be related to the horizotal and vertical sync of the monitor.

Hope this helps in successfully configuring X on your freebsd machine.

More Reference
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html


Recommended
————————–

# xorgcfg -textmode (exclusive text mode) or # xorgcfg ( Graphical Mode ) — > try the graphical mode first, it may hang at times. in that case use the textmode.

# xf86cfg

Here also you need to have a good idea about the h/w. You can get some details from boot log by using the below command

# dmesg

Also you can check the details with the below command

# less /var/log/dmesg ( This is a better command )

Hope these helps.

To create a link in the start menu in gnome. 

April 13th, 2006

The file should be named like gmplayer.desktop having content as below

[Desktop Entry]
Name=GMplayer
Comment=The Movie Player for Linux
Exec=gmplayer
Terminal=0
Type=Application
Categories=AudioVideo;Application;
Icon=gnome-mplayer.png

The location where these files are found are /usr/share/

Searching Google redefined ;) 

April 13th, 2006

Search in google using the below

?intitle:index.of? mp3 hello

This will search all the mp3 which starts with hello :)



© 2010 jayeshjayan.com
Joomla! is Free Software released under the GNU/GPL License.