ibroughton

Member
Jun 12, 2007
11
0
51
OK,

So I got my cPanel and WHM installed (eventually)
Now, I have two domains which I want to initially set up. I know the name servers are pointing to the right place as I had them set us on LXAdmin before I switched to cpanel.

Now, no matter what I try and do, I always get "Server can not be found" errors when I try and access these domains.
Obviously I am missing something basic in WHM.... any ideas?
 

cjm125

Member
Mar 15, 2007
5
0
151
Leeds (United Kingdom)
OK. Got a fix for this

Logged in through ssh and tried to restart apache - got the following error:

httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
Syntax error on line 1115 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/httpd restart: httpd could not be started

Did a bit of googling and found out that I needed to recompile the mod_log_bytes module, using the following code:

cd /usr/local/cpanel/apache
/usr/local/apache/bin/apxs -iac mod_log_bytes.c

Then restarted apache

httpd restart

Everything is fine now!
 

ibroughton

Member
Jun 12, 2007
11
0
51
I also got that error message (Just commented out that line and restarted! LOL)

Anyway, have now uncommented the line, did as suggested above.... still nothing...

Any more ideas?
 

eNetHosts

Well-Known Member
Apr 21, 2007
191
0
166
You need to ask your host to check over your DNS and hostname settings, including checking all services and cPanel is running properly.

Alternatively if you contact us via IM or cPanel Forums PM we can take a look for you.
 

ibroughton

Member
Jun 12, 2007
11
0
51
I'd be grateful f you could have a look at it for me.
Just sent you a message on here. If there's anything else you want to know or would rather chat on MSN or whatever let me know!

Greatly appreciated!
 

eNetHosts

Well-Known Member
Apr 21, 2007
191
0
166
Issue has now been dealt with by one of our technicians.

----------
Resolved
----------