
|
View Full Version : Quick: A way to restart Apache without Root access?
kcdworks 07-03-2002, 10:20 PM I have one week left with my current (crappy) host, and Apache is down for the entire server I'm on.
He gave me the root password in case this ever happened, but then changed it for some reason, or I have the case wrong.
All other services working fine, I can get email, get into CPanel, and WHM. WHM reports that Apache failed. Is there ANY way to get Apache back up without root access? I tried adding a new domain since that restarts Apache, but it didn't work. Now I have angry customers paging me, and the guy at the hosting "company" isn't answering pages. Any advice?
try this:
/etc/rc.d/init.d/httpd restart
or
/usr/local/cpanel/apache/bin/apachectl restart
or
/usr/local/apache/bin/apachectl restart
kcdworks 07-03-2002, 10:44 PM Both the first and the third seem like they will work, but I get this:
/usr/local/apache/bin/apachectl: ulimit: cannot modify limit: Operation not permitted
/usr/local/apache/bin/apachectl: ulimit: cannot modify limit: Operation not permitted
/usr/local/apache/bin/apachectl restart: httpd not running, trying to start
httpd: bad group name fritelo
/usr/local/apache/bin/apachectl restart: httpd could not be started
Looks like your Apache is messed up:(
Alan - Vox 07-03-2002, 10:48 PM There is nothing you can do without root access.
kcdworks 07-03-2002, 10:50 PM Thanks guys ... I found his home number, I'm going to tear him a new @$$hole. :)
Shyne 07-04-2002, 02:05 AM man sudo.
Bogdan 07-04-2002, 02:35 AM Originally posted by kcdworks
He gave me the root password in case this ever happened, but then changed it for some reason, or I have the case wrong.
I would recommend to stay away from any host that gives root access to their clients.
(self-explanatory)
insiderhosting 07-04-2002, 05:08 AM Originally posted by Bogdan
I would recommend to stay away from any host that gives root access to their clients.
(self-explanatory)
LOL, I was thinking the same thing while reading this post.
-Steven
AcuNett 07-04-2002, 09:54 AM Must be a close friend if he have his number ;)
iamdave 07-04-2002, 06:56 PM Originally posted by kcdworks
Thanks guys ... I found his home number, I'm going to tear him a new @$$hole. :) LOL.
kcdworks 07-05-2002, 12:38 AM I got him to get the server back up, it was down for about an hour.
The reason I had the root password was that we were (once) resellers together for somone else ... became pretty good friends, and he decided to get his own server.
Unfortunately, he turned out to be a moron, and can't keep apache running correctly without a reboot every ten days. I'd SWEAR it was a windows 98 machine, if I hadn't had access to it.
I was careful with what I said to him, as I do have to keep the account for another week ... but then my dedicated server will be up, and I'll be able to move everything over. Thank god.
BurtonHost 07-05-2002, 08:23 AM What issues are you experiencing every 10 days? What does the error log say?
Rather than having all your customers suffering and his, why don't you track down the problem - it could help you if you experiene the same problem.
It could be that the server has a problem or there is an abusive user causing apache to crash or something.
bbi-linux 07-05-2002, 11:10 AM It could be that the server has a problem or there is an abusive user causing apache to crash or something
could be, or just an over loaded server running out of file handles. maybe needs some kernel tuning
kcdworks 07-05-2002, 12:06 PM Well, the problem is simply that he has overloaded his server. I didn't know this until recently. He told me that he had purchased several new servers, and is adding an average of 4 resellers per week. However, I recently found out that he was lieing and only has ONE server.
Total sites added per week is an average of about 5 per week over the last month and a half. This is on a Celeron 800, which he says on his website is a dual-processor. WHM reports a single processor. RAM is 512 MB. Processor usage is normally around 2.0 (yikes!!), and I've seen it jump as high as 56.0 (Not joking ... this is what WHM reported).
Anyway, as far as his support forum goes, it's a joke. I asked a simple question one day about what software extension handles .jsp files, never recieved an answer. This was two weeks ago. When I asked him about upgrading php to 4.2.0, he told me that he didn't know how, that the CPanel license he bought set up everything for him.
Reselling off of your own server is fine, if you limit the usage on it. Also, if you don't know what you're doing, get a managed server that offers software upgrades, or, even better, DON'T BOTHER.
[/end rant]
blazenet 07-05-2002, 03:15 PM If your web host doesn't know how to upgrade PHP, it's pretty bad yes :)
Anyway, I would have runned away a long time before.. :)
StevenG 07-06-2002, 05:04 AM Especially when it's this easy to install the latest apache with php 4.2.1 with CPanel
/scripts/easyapache
LOL
avara 07-06-2002, 07:46 AM Originally posted by Dotcomsnz
Especially when it's this easy to install the latest apache with php 4.2.1 with CPanel
/scripts/easyapache
LOL
I don't recommend that. It's always best to manually upgrade Apache and recompile PHP. If you do it automatically, any custom ./configure command will be lost, not to mention that it won't be tweaked the way you want it.
StevenG 07-06-2002, 07:56 AM That maybe the case, but in the situation where the guy doesn't know how to it's unlikely that he has made any special attention to any config.... easyapache is just the script for this guy :D
I agree with you Avara though for the record :D
avara 07-06-2002, 08:06 AM Good point about the guy not knowing how, you've got me there. :D
StevenG 07-06-2002, 08:16 AM :D
hehe 15 - Love
naaaah
15 ALL
kcdworks 07-06-2002, 12:34 PM Thought I'd update everyone that is botherng to read this thread ... got an email from this guy yesterday, he sent it to all his customers. It appears that he has decided to sell his "business" since he is going to be doing a lot of travelling. He is selling both the customers and the server ... claims to be making $24,000 a year off of this ONE server. LMAO, I cannot see how that is possible, unless he is screwing more people than I thought.
Kylecool 07-09-2002, 04:28 AM YIKES. lol *SCAM* LOL, or liar. :P
|