Error Duplicate Entry Joomla

Joomla Error

Duplicate entry ‘32277’ for key ‘PRIMARY’ SQL=INSERT INTO `j16_content_statistics` (`component`,`reference_id`,`type`,`ip`,`user_id`) VALUES (‘com_content’,’426′,’1′,’10.10.222.1′,’0′)

Open databaseChange j16_content_statistics – operation MyISAM to InnoDB

Done

Advertisements

Linux log files location and how do I view logs files?

Go to /var/logs directory:# cd /var/logsView common log file /var/log/messages using any one of the following command:# tail -f /var/log/messages

# less /var/log/messages
# more -f /var/log/messages
# vi /var/log/messages
Output:

Jul 17 22:04:25 router  dnsprobe[276]: dns query failed
Jul 17 22:04:29 router last message repeated 2 times
Jul 17 22:04:29 router  dnsprobe[276]: Primary DNS server Is Down... Switching To Secondary DNS server
Jul 17 22:05:08 router  dnsprobe[276]: Switching Back To Primary DNS server
Jul 17 22:26:11 debian -- MARK --
Jul 17 22:46:11 debian -- MARK --
Jul 17 22:47:36 router  -- MARK --
Jul 17 22:47:36 router  dnsprobe[276]: dns query failed
Jul 17 22:47:38  debian kernel: rtc: lost some interrupts at 1024Hz.
Jun 17 22:47:39  debian kernel: IN=eth0 OUT= MAC=00:0f:ea:91:04:07:00:08:5c:00:00:01:08:00 SRC=61.4.218.24 DST=192.168.1.100 LEN=60 TOS=0x00 PREC=0x00 TTL=46 ID=21599 DF PROTO=TCP SPT=59297 DPT=22 WINDOW=5840 RES=0x00 SYN URGP=0

Common Linux log files name and usage

  • /var/log/message: General message and system related stuff
  • /var/log/auth.log: Authenication logs
  • /var/log/kern.log: Kernel logs
  • /var/log/cron.log: Crond logs (cron job)
  • /var/log/maillog: Mail server logs
  • /var/log/qmail/ : Qmail log directory (more files inside this directory)
  • /var/log/httpd/: Apache access and error logs directory
  • /var/log/lighttpd: Lighttpd access and error logs directory
  • /var/log/boot.log : System boot log
  • /var/log/mysqld.log: MySQL database server log file
  • /var/log/secure: Authentication log
  • /var/log/utmp or /var/log/wtmp : Login records file
  • /var/log/yum.log: Yum log files

In short /var/log is the location where you should find all Linux logs file. However some applications such as httpd have a directory within /var/log/ for their own log files. You can rotate log file using logrotate software and monitor logs files using logwatch software.

 

source from : http://www.cyberciti.biz

Feels Like We Only Go Backwards – Tame Impala

It feels like I only go backwards, baby
Every part of me says go ahead
I got my hopes up again, oh no, not again
Feels like we only go backwards, darling.

I know that you think you sound silly when you call my name
But I hear it inside my head all day
When I realize I’m just holding on to the hope that maybe your feelings don’t show

It feels like I only go backwards, baby
Every part of me says go ahead
Then I got my hopes up again, oh no, not again
Feels like we only go backwards darling.

The seed of all this indecision isn’t me, oh no
Cause I decided long ago.
But that’s the way it seems to go when trying,
So hard to to get to something real, it feels

It feels like I only go backwards, darling
Every part of me says go ahead
I got my hopes up again, oh no, not again
Feels like we only go backwards, darling
It feels like I only go backwards, baby
Every part of me says go ahead
But I got my hopes up again, oh no, not again
Feels like we only go backwards darling
It feels like I only go backwards, baby
Every part of me says go ahead
But I got my hopes up again, oh no, not again
Feels like we only go backwards darling.

Something About Us – Daft Punk

It might not be the right time
I might not be the right one
But there’s something about us I want to say
Cause there’s something between us anyway

I might not be the right one
It might not be the right time
But there’s something about us I’ve got to do
Some kind of secret I will share with you

I need you more than anything in my life
I want you more than anything in my life
I’ll miss you more than anyone in my life
I love you more than anyone in my life

Strange Love – Karen O

Soundtrack of “FrankenWeenie Unleashed”

 

Oh, love, love is strange
Oh-oh
When there’s beauty on the inside,
The outside there’s nothing to ch-ch-ch-change
Oh after I know, after it I want this song to love with someone watching over me
Rain or storm, the only ṗlace I wanna be is close to the heart of everything I even need
The lightening’s not frightening when you are with me
Oh cause love is not always what you think it’ll be

Love, oh love is strange, oh-oh-oh
When there’s beauty on the inside,
The outside there’s nothing to ch-ch-ch-change

Strange love, strange love for one-another
Strange love, strange love for one-another
Can’t judge a book by its cover
Strange love, strange love for one-another

Love, love is strange, oh-oh-oh
When there’s beauty on the inside,
The outside there’s nothing to ch-ch-ch-change
The lightening’s not frightening when you are with me
Oh cause love is not always what you think it’ll be

Love, love is strange, oh-oh-oh
When there’s beauty on the inside,
The outside there’s nothing to ch-ch-ch-change

Strange love, strange love for one-another
Strange love, strange love for one-another
Can’t judge a book by its cover
Strange love, strange love for one-another

Strange love, strange love for one-another
Strange love, strange love for one-another
Can’t judge a book by its cover
Strange love, strange love for one-another

Oh i never know – Sarasvati

I don’t care, if you don’t wanna know what it is
Cause the time just wont stop to understand
Im scared too scared to believe what I want
Im shy too shy to tell the truth

I want to know, your feeling to clear this mess
I do believe theres no word to explain your heart
Don’t be scared don’t get scared to believe what you want
Don’t be shy don’t be shy
To tell the truth
I wanna know what you feel when I am with you
Yes, my heart beat cant stop when I am with you
Im shy so shy yes shy so shy
You never let me know what I wanna hear
You never show me the love that I want from you
Im scared so scared yes scared so scared