← Back to team overview

vmbuilder team mailing list archive

Re: Post install Issues

 

>>>>> "Amol" == Amol Jadhav <amolj.1306@xxxxxxxxx> writes:

>> From the logs, it really looks like mysql isn't started yet, which
>> isn't too surprising.  As yet another quick hack, put:
>> 
>>      /etc/init.d/mysql start
>> 
>> before your
>> 
>>       mysql [options] < db_dump.sql
>> 
>> in your --exec script.

Amol> I tried the above thing but it didn't worked. 

What error(s) did you get?  I suspect that you might have hit an issue
where you're still in the install phase, but not booted up quite yet.
But I'm no expert on the tool or VMs in general.

Amol> Anyway, I'll try to do it from the first boot but I wanted to
Amol> reduce the boot time, since I'm using the desired image in EC2.

It shouldn't make too much of a difference, esp since you need to
bootup the system anyway.  Sure, the first boot will be a little
slower, but you're still doing initial setup and just consider that
part of the process overhead.  

Amol> Thanks for your help.

You're welcome.  

John




Follow ups

References