Kurinchi Blogger Scribbles …


Archive for February, 2010

Feb 10
2010

Ubuntu: Where to find Apache Error log?

Last updated: February 10th, 2010

Location where the Apache error log entries can be found in Ubuntu

user@server:~# less /var/log/apache2/error.log

Feb 05
2010

MySQL: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’

Last updated: February 5th, 2010

Reason why this error might occur:

i) Incomplete MySQL implementation
ii) MySQL setting mis-configuration

Solution:

root@myserver:/# vi /etc/mysql/my.cnf

Comment out the below line in my.cnf file to make MySQL listen on ALL interfaces
#bind-address = 127.0.0.1

root@myserver:/# netstat -tap | grep mysql
tcp 0 0 *:mysql *:* LISTEN 17785/mysqld

Note that above line which indicates MySQL listening on all interfaces.

Feb 03
2010

SSL Error: Revocation information for the security certificate for this site is not available.

Last updated: February 4th, 2010

SSL Error: Revocation information for the security certificate for this site is not available. Do you want to proceed?

Solutions:
i) Install the root CA under Trusted Certificate Authority or,
ii) Add an exception to the browser filter not to check certificate revocation or,
iii) Programatically handle the SSL stream when request is made from the server

Feb 01
2010

Choosing version control system (VCS): Git vs Subversion

Last updated: February 1st, 2010

Git

- Distributed repository system (adaptive work flow models)
- Source control taxonomy: DAG storage
- URI to git directory is where the repository is stored and it always has branches and tags
- Repository root folder contains a .git directory which maintains file history
- Scalability
- Faster, Efficient branching and merging
- License: Copyleft

Subversion (SVN)

- Centralized repository system
- Source control taxonomy: Delta storage
- URI to a subversion depository most commonly adopts /trunks, /branches and /tags directories
- Each folder maintains a .svn directory to store the file history
- Not efficient in scaling
- Not efficient in branching and merging
- License: Copyfree


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict