Getting this error when trying to create a account
Useing Red hat 9
Getting this error when trying to create a account
Useing Red hat 9
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.
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
You better contact your server provider. You don't appear to have an httpd.conf file. Without it, you can't have websites.
You could try running
cp /etc/http.old/conf/httpd.conf /etc/http/conf/httpd.conf
to copy the one marked old to use as the real one. It may work, but I would contact the provider.
Its a test box, did I install something wrong? It's running right next to me so I can physical Contact with it.
I would just copy then. It sounds like you may have somehow deleted the file.
Says no file or Directory.
You mean you ran
cp /etc/http.old/conf/httpd.conf /etc/http/conf/httpd.conf
and it said that?
hmm, its now saying Cannot create regular file '/etc/http/conf/httpd.conf/': No such file or Directory
I put a starter conf file on my site. It's my conf file but just the usual starter stuff with the actual account material removed. Just download it from http://www.premierwebsitesolutions.com/httpd.conf.txt then remove the txt extension and put it in your etc/http/conf directory.
Creating accounts should work after that.
How do I remove the .txt thingy?
Just rename it, or right-click on the link and just save as httpd.conf.
I thought cpanel was still not compatible with redhat 9.
That could cause a problem.Originally posted by Juanra
I thought cpanel was still not compatible with redhat 9.
Does anyone know more about the problems this mismatch could cause?