It seems as though the Content Library Service has up and vanished from my vCenter Services. I created a content library back in April. I went to delete and add an online library I built and it wouldn't work. I dug around and did some homework and found where the core services were. I used a BASH shell command to try and start it. I figured it wouldn't work, but here is what it spit back.
Has anyone had issues with their content library before?
service-control --start vmware-vdcs
INFO:root:Service: vmware-vdcs, Action: start
Service: vmware-vdcs, Action: start
2015-12-30T00:00:40.321Z Running command: ['/sbin/chkconfig', u'vmware-vdcs']
2015-12-30T00:00:40.362Z Done running command
2015-12-30T00:00:40.363Z Running command: ['/sbin/service', u'vmware-vdcs', 'status']
2015-12-30T00:00:40.453Z Done running command
2015-12-30T00:00:40.454Z Running command: ['/sbin/chkconfig', '--force', u'vmware-vdcs', 'on']
2015-12-30T00:00:40.486Z Done running command
2015-12-30T00:00:40.486Z Running command: ['/sbin/service', u'vmware-vdcs', 'start']
2015-12-30T00:00:56.294Z Done running command
2015-12-30T00:00:56.294Z Invoked command: ['/sbin/service', u'vmware-vdcs', 'start']
2015-12-30T00:00:56.294Z RC = 1
Stdout = Starting VMware Content Library Service...
wrapper | An encoding declaration is missing from the top of configuration file, /etc/vmware/wrapper_common.conf, trying the system encoding.
wrapper | An encoding declaration is missing from the top of configuration file, /etc/vmware/wrapper_linux.conf, trying the system encoding.
wrapper | Spawning intermediate process...
Waiting for VMware Content Library Service..................
WARNING: VMware Content Library Service may have failed to start.
Last login: Tue Dec 29 23:04:21 UTC 2015 on console
Stderr =
2015-12-30T00:00:56.294Z {
"resolution": null,
"detail": [
{
"args": [
"Command: ['/sbin/service', u'vmware-vdcs', 'start']\nStderr: "
],
"id": "install.ciscommon.command.errinvoke",
"localized": "An error occurred while invoking external command : 'Command: ['/sbin/service', u'vmware-vdcs', 'start']\nStderr: '",
"translatable": "An error occurred while invoking external command : '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
ERROR:root:Unable to start service vmware-vdcs, Exception: {
"resolution": null,
"detail": [
{
"args": [
"vmware-vdcs"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vdcs'",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
Unable to start service vmware-vdcs, Exception: {
"resolution": null,
"detail": [
{
"args": [
"vmware-vdcs"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vdcs'",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
same error
can anybody help us
What version of vCenter? This looks pretty nasty and given that you haven't received a response yet, have you opened a ticket with GSS?
i have the same problem and i am using vcneter update 2
INFO:root:Service: vmware-vdcs, Action: start
Service: vmware-vdcs, Action: start
2016-07-02T09:38:08.882Z Running command: ['/sbin/chkconfig', u'vmware-vdcs']
2016-07-02T09:38:08.943Z Done running command
2016-07-02T09:38:08.944Z Running command: ['/sbin/service', u'vmware-vdcs', 's tatus']
2016-07-02T09:38:09.041Z Done running command
2016-07-02T09:38:09.041Z Running command: ['/sbin/chkconfig', '--force', u'vmw are-vdcs', 'on']
2016-07-02T09:38:09.084Z Done running command
2016-07-02T09:38:09.084Z Running command: ['/sbin/service', u'vmware-vdcs', 's tart']
2016-07-02T09:38:24.895Z Done running command
2016-07-02T09:38:24.895Z Invoked command: ['/sbin/service', u'vmware-vdcs', 's tart']
2016-07-02T09:38:24.895Z RC = 1
Stdout = Starting VMware Content Library Service...
wrapper | An encoding declaration is missing from the top of configuration file , /etc/vmware/wrapper_common.conf, trying the system encoding.
wrapper | An encoding declaration is missing from the top of configuration file , /etc/vmware/wrapper_linux.conf, trying the system encoding.
wrapper | Spawning intermediate process...
Waiting for VMware Content Library Service..................
WARNING: VMware Content Library Service may have failed to start.
Last login: Sat Jul 2 11:23:30 IRDT 2016
Stderr =
2016-07-02T09:38:24.896Z {
"resolution": null,
"detail": [
{
"args": [
"Command: ['/sbin/service', u'vmware-vdcs', 'start']\nStderr: "
],
"id": "install.ciscommon.command.errinvoke",
"localized": "An error occurred while invoking external command : 'C ommand: ['/sbin/service', u'vmware-vdcs', 'start']\nStderr: '",
"translatable": "An error occurred while invoking external command : '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
ERROR:root:Unable to start service vmware-vdcs, Exception: {
"resolution": null,
"detail": [
{
"args": [
"vmware-vdcs"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vdcs' ",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
Unable to start service vmware-vdcs, Exception: {
"resolution": null,
"detail": [
{
"args": [
"vmware-vdcs"
],
"id": "install.ciscommon.service.failstart",
"localized": "An error occurred while starting service 'vmware-vdcs' ",
"translatable": "An error occurred while starting service '%(0)s'"
}
],
"componentKey": null,
"problemId": null
}
Same error here running 6.0U2
We have some odd things on our vcenter outside of this. I wonder if its all related.
Update. After further troubleshooting I looked closer at the log files. Saw an issue with writing a PID file.
DEBUG | wrapper | 2016/07/07 11:13:53 | An encoding declaration is missing from the top of configuration file, /etc/vmware/wrapper_linux.conf, trying the system encoding.
DEBUG | wrapper | 2016/07/07 11:13:53 | active log file changed: /var/log/vmware/vdcs/wrapper.log
DEBUG | wrapper | 2016/07/07 11:13:53 | active log file changed: /var/log/vmware/vdcs/wrapper.log
ERROR | wrapper | 2016/07/07 11:13:53 | 15676 pid file, /var/log/vmware/vdcs/vmware-vdcs.pid, already exists.
FATAL | wrapper | 2016/07/07 11:13:53 | ERROR: Could not write pid file /var/log/vmware/vdcs/vmware-vdcs.pid: Inappropriate ioctl for device
I renamed an old existing PID file in that log directory for VMware Content Library and tried again starting the service. Worked.
Thanks, worked for me!
Greetings
Daniel
Resolved my issue related with this service.
My post where i have more probems with services..