b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
Hi, How can i reinstall apache on my server and also include, zend optimizer, curl, GD compiled into PHP and tomcat?

i have apace on my server but it crashed and cant get it running, the supprt team have taken 2 days to rpely and im losing lots of buisness

cna any oe help
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
will this work with cpanel, Cpanel is all ready installed on the server and has all my client details , website sand such so i dont wnat to lose any of that so if u se the details on that above i will not lose cpanel and all my customers files and such?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
No that won't work with cPanel.

In WHM under software click on "Update Apache" From there you can select and choose what should be installed. Remember to read and head the warnings.
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
yeh i cant access whm, as apace is down and ive contacted the support team and they havnt done anything yet tho i can access shh
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
WHM and Apache have no coralation with each other. I would assume you have bigger issues than just apache if WHM is also not working.

In SSH

service cpanel status <- That will show you the state of cPanel (included WHM)

/scripts/easyapache <- This is the shell version of the build apache
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
hi this is the error im getting
Syntax error on line 1091 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog',
perhaps mis-spelled or defined by a module not included in the server configuration
/etc/rc.d/init.d/httpd start: httpd could not be started
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
the error above is when i do easyapache
when i do service cpanel status i get

cpsrvd (pid 1951) is running...
entropychat (pid 1966 2451) is running...
melange (pid 2455) is running...
stunnel is stopped
interchange is stopped
qrunner is stopped
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
For the whm issue,
try
/usr/local/cpanel/startstunnel
or
service cpanel restart

That should do it.

The apache issue, you will need to edit httpd.conf to see why it is having an issue at line 1091. I suspect that it is from an incomplete add/remove.
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
ok i have deleted the line 1091 and now re installed apache again lets see what happens
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
hi i need to remove byteslog from a 150 dfferent places is there a quick way in doing this
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
Dave, I think b0072k1 can use a sys admin to help him with this problem.
 

b0072k1

Well-Known Member
Dec 30, 2004
132
0
166
Glasgow
nm the sys admin lol how can i enable mod_bandwidth to sort out this?
Ok i never deleted teh byteslog so how do i over come this