LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 03-11-2009, 12:01 PM   #16
mephisto23
LQ Newbie
 
Registered: Mar 2009
Posts: 20

Rep: Reputation: 1

have you changed the log files in virtual host configuration?

got to the directory where your apache logs are located and type

Code:
ls -lah
check which file was last changed. check if you find some infos there. additionally you should check /var/log/messages and /var/log/syslog

regards,

mephisto23
 
Old 03-11-2009, 04:44 PM   #17
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
@Fredrix
Try to start apache in debug mode and see what happens, or post here the output:
Code:
httpd -k start -e debug
Quote:
c66F28BC3:/var/log/apache2 # httpd2 -k start -e debug
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module authz_host_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module actions_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module alias_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module auth_basic_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module authz_groupfile_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module authn_file_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module authz_user_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module autoindex_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module cgi_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module dir_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module include_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module log_config_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module mime_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module negotiation_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module setenvif_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module status_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module userdir_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module asis_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module imagemap_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module php5_module
[Wed Mar 11 21:33:10 2009] [debug] mod_so.c(246): loaded module authz_default_module
(98)Address already in use: make_sock: could not bind to address 195.139.242.102:80
no listening sockets available, shutting down
Unable to open logs



Quote:
Originally Posted by mephisto23 View Post
have you changed the log files in virtual host configuration?

got to the directory where your apache logs are located and type

Code:
ls -lah
check which file was last changed. check if you find some infos there. additionally you should check /var/log/messages and /var/log/syslog

regards,

mephisto23
apache2 logs
Quote:
c66F28BC3:/var/log/apache2 # ls -lah
totalt 108K
drwxr-x--- 2 root root 4,0K 2009-03-04 19:44 .
drwxr-xr-x 15 root root 4,0K 2009-03-11 21:26 ..
-rw-r--r-- 1 root root 76K 2009-03-07 19:20 access_log
-rw-r--r-- 1 root root 14K 2009-03-07 19:22 error_log
-rw-r--r-- 1 root root 10 2009-03-11 21:31 rcapache2.out
no syslog at /var/log/

what should i look for in the messages log? it was really filled!
 
Old 03-11-2009, 06:37 PM   #18
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,210

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
It seems that the apache logs are written in rcapache2.out.
So what is the output of:
Code:
tail /var/log/apache2/rcapache2.out
 
Old 03-13-2009, 03:18 PM   #19
Fredrix
LQ Newbie
 
Registered: Jan 2009
Location: Norway
Distribution: suse10, ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
It seems that the apache logs are written in rcapache2.out.
So what is the output of:
Code:
tail /var/log/apache2/rcapache2.out
output
Quote:
c66F28BC3:/home/god # tail /var/log/apache2/rcapache2.out
Syntax OK

i think reinstalling apache will be my solution for this problem, need apache. ill do some more research and then reinstall, if that does not work i'll just reformat. seems to unsolvable
 
  


Reply

Tags
apache


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to start X satimis Ubuntu 2 07-25-2007 12:35 AM
Fail to start postfix satimis Linux - Server 3 04-07-2007 01:41 PM
Fail to start FC6 satimis Fedora 1 12-07-2006 02:20 AM
rcapache2 for normal user? thw Linux - Security 1 08-28-2004 02:37 PM
Fail to start Gnome satimis Fedora 1 07-30-2004 11:30 AM


All times are GMT -5. The time now is 02:34 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration