[
https://issues.apache.org/jira/browse/CLOUDSTACK-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kishan Kavala updated CLOUDSTACK-6220:
--------------------------------------
Labels: KVM agent (was: agent)
> Cloudstack agent fails to start due to broken init script
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-6220
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6220
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup
> Affects Versions: 4.4.0
> Environment: CentOS 6.5 KVM/libvirt
> Reporter: Nux
> Labels: KVM, agent
>
> Hello,
> On 4.4 `service cloudstack-agent start` fails with:
> # service cloudstack-agent start
> Starting Cloud Agent:
> touch: cannot touch `/var/lock/subsys//etc/init.d/cloudstack-agent': No such
> file or directory
> /etc/init.d/cloudstack-agent used to have this which worked fine:
> whatami=cloudstack-agent
> SHORTNAME="$whatami"
> Now it has been replaced with this which fails:
> SHORTNAME="$0"
> A possible solution is to replace "$0" with `basename "$0"`
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)