Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Instance won't start after EBS swap



Threaded Mode | Print  

 Instance won't start after EBS swap, I created a new larger EBS and instance won't start (5 Replies, Read 21652 times)
GapGeeks
Group: Member
Post Group: Newbie
Posts: 7
Status:
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

IP: --   

Instance won't start after EBS swap
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

Instance won't start after EBS swap
GapGeeks
Group: Member
Post Group: Newbie
Posts: 7
Status:
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.


IP: --   

Instance won't start after EBS swap
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
<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

IP: --   

Instance won't start after EBS swap
GapGeeks
Group: Member
Post Group: Newbie
Posts: 7
Status:
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.


IP: --   

Instance won't start after EBS swap
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 6:56 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.041