LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2006, 12:48 AM   #1
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Rep: Reputation: 15
Started Apache, but not working


Error = HTTP 404 ERROR NOT FOUND
root@nimrod3:/usr/local/netdisco# tail /usr/local/apache/logs/error_log
tail: cannot open `/usr/local/apache/logs/error_log' for reading: No such file or directory

Then I tried to locate the error_log, but there is no such file
root@nimrod3:/usr/local/netdisco# locate error_log

I did everything up to http://www.netdisco.org/install.html#11__start_apache

root@nimrod3:/usr/local/netdisco# ps ax
20529 ? S 0:10 /usr/local/sbin/snmpd
27676 ? S 0:00 /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
27678 ? S 0:00 postgres: writer process
27679 ? S 0:00 postgres: stats buffer process
27680 ? S 0:00 postgres: stats collector process
29430 ? Ss 0:00 sshd: tech [priv]
29433 ? S 0:01 sshd: tech@pts/1
29434 pts/1 Ss 0:00 -bash
29573 pts/1 S+ 0:00 bash
15379 ? Ss 0:00 sshd: tech [priv]
15382 ? S 0:00 sshd: tech@pts/2
15383 pts/2 Ss 0:00 -bash
15403 pts/2 S 0:00 bash
7869 ? Ss 0:00 sshd: tech [priv]
7872 ? S 0:00 sshd: tech@pts/3
7873 pts/3 Ss 0:00 -bash
7884 pts/3 S+ 0:00 bash
31497 ? Ss 0:00 /usr/local/apache/bin/httpd
31498 ? S 0:00 /usr/local/apache/bin/httpd
31499 ? S 0:00 /usr/local/apache/bin/httpd
31500 ? S 0:00 /usr/local/apache/bin/httpd
31501 ? S 0:00 /usr/local/apache/bin/httpd
31502 ? S 0:00 /usr/local/apache/bin/httpd
31513 ? S 0:00 /usr/local/apache/bin/httpd
31517 pts/2 R+ 0:00 ps ax

Anyone know what may be the problem or need any additional info? Feel free to post.

Thanks in advance.

Jason

Last edited by coolrock; 10-02-2006 at 12:49 AM.
 
Old 10-02-2006, 01:20 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Does the directory

/usr/local/apache/logs

exist, and is it writable to the user running apache?
 
Old 10-02-2006, 01:30 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
locate only works when the database is up-to-date (as far as I know). Try find / -name error_log -print 2>&1 |grep error_log instead. Using this 'difficult' construction (the stuff after -print) suppresses error messages related to permissions.

What is the URL that you try to access?

Please post your httpd.conf.
 
Old 10-02-2006, 03:01 AM   #4
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday
Does the directory

/usr/local/apache/logs

exist, and is it writable to the user running apache?
root@nimrod3:/usr/local/netdisco# cd /usr/local/apache/logs
root@nimrod3:/usr/local/apache/logs#
 
Old 10-02-2006, 03:24 AM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
root@nimrod3:/usr/local/apache/logs# ls -l

what does that have to show?
 
Old 10-02-2006, 03:34 AM   #6
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Original Poster
Rep: Reputation: 15
root@nimrod3:/usr/local/apache/logs# ls -l
total 0
 
Old 10-02-2006, 03:56 AM   #7
coolrock
Member
 
Registered: Sep 2006
Location: Singapore
Distribution: Slackware Linux
Posts: 48

Original Poster
Rep: Reputation: 15
root@nimrod3:/# /usr/sbin/apachectl start
Syntax error on line 6 of /usr/local/netdisco/netdisco_apache.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration

Any ideas?

Thanks in advance

Jason
 
Old 10-02-2006, 12:10 PM   #8
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
hash out the line with perlmodule in /usr/local/netdisco/netdisco_apache.conf and then try to start apache.
 
  


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
Apache warning when started mhykhh Linux - Software 4 12-17-2005 06:36 AM
Getting started with Apache shazam75 Linux - Software 4 09-26-2005 09:48 PM
Problems getting Apache started Philter Linux - Newbie 7 11-29-2004 03:54 PM
Help getting started with Apache and Proftp jimhe Mandriva 5 08-18-2004 12:04 AM
Apache 1.3 started but not working ? Devboy *BSD 0 08-16-2004 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:40 PM.

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