Unable to locate httpd.conf at /scripts/wwwacct line 1319.

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
Here is the subroutine in the wwwacct file giving you that message:

sub find_httpconf {
my(@LOC,$loc);
@LOC = ("/usr/local/apache/conf/httpd.conf",
"/etc/httpd/conf/httpd.conf");
foreach $loc (@LOC) {
if (-e $loc) { return $loc; }
}
die "Unable to locate httpd.conf"; < ---- this is line 1319
return "";
}

What it's saying is that it can't find the httpd.conf file in either of the 2 locations it's checking.

I suggest telnetting in and doing a locate.
locate httpd.conf
See what it tells you.
 

ndj1022

Well-Known Member
Mar 14, 2003
52
0
156
I got these as the reasults


/etc/http.old/conf/httpd.conf
/usr/share/apacheconf/httpd.conf.xsl
/usr/local/cpanel/base/docs/whm/images/buttons_httpd.conf.png
/home/cpins/installd/buildapache/httpd.conf.tempeditlib
 

ndj1022

Well-Known Member
Mar 14, 2003
52
0
156
Its a test box, did I install something wrong? It's running right next to me so I can physical Contact with it.
 

ndj1022

Well-Known Member
Mar 14, 2003
52
0
156
hmm, its now saying Cannot create regular file '/etc/http/conf/httpd.conf/': No such file or Directory
 

NeoSonic

Member
May 7, 2003
18
0
151
I had that same error on my BSD box... I think that problem was due to the fact that I didnt do it on a clean box
apache and a few other thigns had already been installed...

Please forgive the typos.. its too late for me to go back over it.
 

NeoSonic

Member
May 7, 2003
18
0
151
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
append to previous statement

I may be wrong, but I think that error is due to not having a clean installation.. i.e. having other control panels installed first.. etc.. I have run into this problem with a BDS installation and a redhat installation where webmin was installed after I told them to do clean... I set up a box at home with a clean redhat install and it worked fine
I hope this is helpful