Softaculous


Topic : Instance won't start after EBS swap


Posted By: GapGeeks on April 21, 2012, 7:43 pm
The default disk size of this AMI:
webuzocentos13 (ami-83e12aea)

is only 2gb.  So, I created a new EBS block, made a snapshot, detached the original and attached the new block.  Now the instance starts, but the httpd will not start.  I'm getting this error:

Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/webuzoVH.conf:
Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

I can connect via SSH - so the server is running. 

Also, I notice that the IP addresses are hard coded in this config file.  When you stop and start an instance, the IP's change.  Shouldn't the Webuzo script deal with this?

Please help.

Thanks,

Chris


Posted By: valley on April 22, 2012, 11:54 am | Post: 1
Sir,

>> issues with AMI webuzocentos13 (ami-83e12aea)
This AMI has the older version of Webuzo with disk size of 2GB.
Here is a list of fresh Webuzo AMIs with 10 GD diskk space:
http://aws.amazon.com/search?searchQuery=webuzo&searchPath=all&x=0&y=0

>>When you stop and start an instance, the IP's change.
We will fix this ASAP!!!


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: GapGeeks on April 22, 2012, 3:16 pm | Post: 2
I was able to get the instance to boot again.  For some reason, the script put this code in the webuzoVH.conf:

      <Directory /home/soft/public_html/cgi-bin>
        RMode stat
        RUidGid soft soft
        </Directory>

I edited and deleted this code and it worked.

You can increase the size of the EBS by using Amazon and following these procedures:

http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/RootDeviceStorage.html

http://alestic.com/2009/12/ec2-ebs-boot-resize

I would think this is something you want in your documentation. 

I hope you'll get the IP issues in you config fixed.  I can't see using Webuzo in a production environment with this type of 'hole' in the setup. 

I did restart the instance and it comes up, but the configuration file is the same and has the wrong IP addresses, as does the setup in the panel.



Posted By: valley on April 23, 2012, 6:15 am | Post: 3
<Directory /home/soft/public_html/cgi-bin>
        RMode stat
        RUidGid soft soft
</Directory>
Deleting this will cause Perl scripts to be not working.
Also, without removing the above code I was able to boot my instance without any issues.

Please open a support ticket at https://www.softaculous.net/support/ with your root details we will fix the issue.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: GapGeeks on April 23, 2012, 2:05 pm | Post: 4
Just curious - why is this code not in the default install when initially setup?  I created a new instance and checked the config file and do not find this code.



Posted By: valley on April 24, 2012, 5:59 am | Post: 5
Quote From : GapGeeks April 23, 2012, 2:05 pm
Just curious - why is this code not in the default install when initially setup?  I created a new instance and checked the config file and do not find this code.




Sir, this code will appear in Webuzo 1.7 and not in version before that because this functionality was added in 1.7. If you update to Webuzo 1.7 via the cron command
Code
root> php /usr/local/webuzo/cron.php

You will get to see the code in the config file as well as Webuzo will work without any issue.

Alternately, launching an instance of pre-made Webuzo 1.7 is recommended. Here is a list of AMIs:
http://aws.amazon.com/search?searchQuery=webuzo&searchPath=all&x=0&y=0 




-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Powered By AEF 1.0.8 © 2007-2008 Electron Inc.