LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-09-2013, 10:10 AM   #1
Horus1
Member
 
Registered: Jul 2013
Posts: 39

Rep: Reputation: Disabled
checking my server error log


Hello,
my vps is running Debian 6 (squeeze) 32
when check my server error log

Quote:
# /var/log/apache2/error.log
got Permission denied message

Code:
 /var/log/apache2/error.log: Permission denied
please how can i fix that
 
Old 08-09-2013, 11:53 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Use some program to view the logs, e.g.
Code:
cat /var/log/apache2/error.log 
tail /var/log/apache2/error.log
Regards
 
Old 08-10-2013, 10:33 AM   #3
Horus1
Member
 
Registered: Jul 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
thank you for your reply,
the output
Code:
cat /var/log/apache2/error.log
~#
Quote:
# tail /var/log/apache2/error.log
#

Last edited by Horus1; 08-10-2013 at 10:47 AM.
 
Old 08-10-2013, 02:55 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Horus1 View Post
thank you for your reply,
the output
Code:
cat /var/log/apache2/error.log
~#
From the output looks like the log file is empty.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS server log error alphatest Linux - Software 1 05-01-2011 11:33 AM
Internal Server Error 500 but no error log Sly Phy Programming 1 08-10-2010 10:51 PM
boot up error on /var/log/messages [server.ERROR] cannot start systen DBus service junust Linux - General 0 08-04-2009 04:55 AM
Error checking root filesystem in boot. Automatically reboots before log in. Romanus81 Slackware 8 08-18-2008 08:38 AM
RHEL Server error log johnbeskie Linux - Server 1 04-28-2008 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration