Custom Search

Friday, March 30, 2012

Eucalyptus Syntax error /etc/eucalyptus/httpd-cc.conf /etc/eucalyptus/httpd-nc.conf

saju@ubuntu:~$/etc/init.d/eucalyptus-nc start
* Starting Eucalyptus services eucalyptus-nc Syntax error on line 17 of /etc/eucalyptus/httpd-nc.conf:
Error:\tApache has not been designed to serve pages while\n\trunning as root. There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n

Failed to start the NC!



saju@ubuntu:~$/etc/init.d/eucalyptus-cc start
* Starting Eucalyptus cluster controller eucalyptus-cc Syntax error on line 17 of /etc/eucalyptus/httpd-cc.conf:
Error:\tApache has not been designed to serve pages while\n\trunning as root. There are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you still desire to serve pages as root then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then rebuild the server.\n\tIt is strongly suggested that you instead modify the User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n

Failed to start the CC!


Solution
=====

1) Edit eucalyptus.conf
#vim /etc/eucalyptus/eucalyptus.conf
then change EUCA_USER="root" to EUCA_USER="eucalyptus"


2) Restart
/etc/init.d/eucalyptus-cc cleanrestart
/etc/init.d/eucalyptus-nc restart
/etc/init.d/eucalyptus-cloud restart


1 comment:

  1. Thanks! I did it and worked. I just need to restart the apache after yours advices.

    ReplyDelete