Web Hosting Talk







View Full Version : Ran easyapache and apache failed... now this....


GotGameServers
07-22-2003, 09:42 PM
I ran /scripts/fixeverything

Sounded like a good script to run. LOL

Anyways - all the files in /scripts are now gone.

Anyone have any idea whats going on and why apache suddenly wont restart after running easyapache?

Craig
07-22-2003, 09:47 PM
What does your error_log say?

Craig

GotGameServers
07-22-2003, 09:50 PM
doh

was error in php.ini loading ioncube.

Thanks! Forgot to check error logs. There is still the weird problem of all the scripts under /scripts seem to have deleted themselves after running fixeverything.

Andrew
07-22-2003, 09:54 PM
That shouldn't happen. fixeverything just runs fixquotas, fixndc, and changes the mailbox permissions back the way they should be.

shouldn't be too hard to copy the /scripts directory from another server.

Or at least grab a copy of /scripts/updatenow and run that.

Jim_UK
07-22-2003, 09:56 PM
Hopefully it's okay to post it here:


#!/usr/bin/perl
# cpanel4 - scripts Copyright(c) 1997-2002 DarkORB Communications Inc.
# All rights Reserved.
# nick@darkorb.net http://cpanel.net
# This code is subject to the cpanel license. Unauthorized copying is prohibited
system("rsync","--timeout=1000","-av","rsync://rsync.cpanel.net/scripts","/scripts");


Put it into a file, chmod it 755 and run it to rsync your /scripts directory from the cpanel server.

GotGameServers
07-22-2003, 10:04 PM
you rock :D


that did it. Thanks for the help guys.