Just one of the little ways, too many to actually list, that cPanel's
"let's just go in and replace all the system with our kludgly workalikes"
policy infuriates me sometimes.

[r...@web ~]> ls -l /usr/sbin/httpd
lrwxrwxrwx  1 root root 31 Apr 18  2006 /usr/sbin/httpd -> 
/usr/local/apache/bin/apachectl
[r...@web ~]>

Okay, so it's replaced httpd with something... else...

[r...@web ~]> sudo apachectl graceful
apachectl: Configuration syntax error, will not run "graceful":
usage: /usr/sbin/httpd 
(start|stop|restart|fullstatus|status|graceful|configtest|help)

start      - start httpd
startssl   - start httpd with SSL enabled
stop       - stop httpd
restart    - restart httpd if running by sending a SIGHUP or start if
             not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status     - dump a short status screen; requires lynx and mod_status enabled
graceful   - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help       - this screen

[r...@web ~]>

Uhm.  Like.  Wha?
Just on a whim:

[r...@web ~]> sudo httpd graceful
/usr/sbin/httpd graceful: httpd gracefully restarted
[r...@web ~]>

Okay... fine... or something... but... but... but...

[r...@web ~]> ls -l /usr/sbin/apachectl
-rwxr-xr-x  1 root root 3719 Aug 31  2005 /usr/sbin/apachectl
[r...@web ~]>

This one was not even replaced.  Yet it *thinks* it's called "httpd",
and it doesn't want to acknowledge one of the options it has itself
advertised (cue Smylers's recent DenyHosts rant).  While the thing
that calls itself "httpd" does apachectl's job Just Fuckin' Fine.

A maze of twisty little passages, all alike.

G'luck,
Peter

-- 
Peter Pentchev  [email protected]    [email protected]    [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because "thit" is not a word.

Attachment: pgp6PsggJ0NSR.pgp
Description: PGP signature

Reply via email to