Hi, Please check the maximum number of characters for a hostname by using the following command
getconf HOST_NAME_MAX On Thu, Jun 26, 2014 at 3:34 AM, Maria Beckham <mariabeckha...@yahoo.com> wrote: > Hi All, > > I am trying to create a generic cartridge. As part of this exercise, there > is a step to run config.sh > > But, when I run config.sh, I am getting the below error output. The > hostname created by our sysadmins is big > > stratos-master-229867.phx-os1.stratus.dev.eco.com. They cannot change it > just for my need, as it automatically created in openstack by their > automated scripts. > > Whats the solution or workaround? > > > Output: > > Installation started. Please wait ... > hostname: name too long > [Error] Failed to update hostname. > /bin/rm: cannot remove > `/mnt/apache-stratos-cartridge-agent-4.0.0-SNAPSHOT/wso2carbon.lck': No > such file or directory > > > > -- *Dinesh Bandara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware