

Can't access after install
I'm not sure if it's related or not but I see this error in the logs
I followed the steps in http://support.citrix.com/proddocs/topic/cpbm-21-map/cpbm-iag-wrapper-con.html
And it seems like the installation phase went well, but I can't get to the CloudPortal it seems like the webserver is down.
I also tried to restart
But still I can't get to the portal.
I'm not sure if it's related or not but I see this error in the logs
Hi Guy,
Yes, the error you mentioned could be the issue here. Can you please check if you have file "patches.plan" in "/usr/share/vts3/patches/" directory?
If not, can you please create one with below content.
<?xml version="1.0" encoding="UTF-8"?>
<plan name="patches.plan" version="2.2.0" scoped="false" atomic="false"
xmlns="http://www.eclipse.org/virgo/schema/plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.eclipse.org/virgo/schema/plan
http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="configuration" name="patches"/>
</plan>
Once this is done , please restart the CPBM server. If the server is restarted successfully you will see below log message in CPBM logs .
Started plan 'com.citrix.cpbm.plan'
After the CPBM is restarted successfully you can access the login page using URL <http>://<CPBM server IP Address>:8080/portal/portal/login
Thanks,
Manish
Hi Guy,
Yes, the error you mentioned could be the issue here. Can you please check if you have file "patches.plan" in "/usr/share/vts3/patches/" directory?
If not, can you please create one with below content.
<?xml version="1.0" encoding="UTF-8"?>
<plan name="patches.plan" version="2.2.0" scoped="false" atomic="false"
xmlns="<http>://www.eclipse.org/virgo/schema/plan"
xmlns:xsi="<http>://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
<http>://www.eclipse.org/virgo/schema/plan
<http>://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="configuration" name="patches"/>
</plan>
Note: Please remove angular brackets from above URLs in the content.
Once this is done , please restart the CPBM server. If the server is restarted successfully you will see below log message in CPBM logs .
Started plan 'com.citrix.cpbm.plan'
After the CPBM is restarted successfully you can access the login page using URL <http>://<CPBM server IP Address>:8080/portal/portal/login
Thanks,
Manish
yes the file was missing (I didn't play with the standard install)
But, still I get another similar error:
Hi Guy,
This is strange, we should have these files in the installation. Looks like there is one more file missing.
Can you please add the file "patches.properties" in the directory "/usr/share/vts3/patches/" ?
Content of the file will be just one line as below:
Patches.Version=2.1.1
After making these changes restart the CPBM server.
Thanks,
Manish
Just to be on the safe side I reinstall on a new CentOS clean VM.
This time I do see the missing files but I still get an error:
And later I see:
Hey Guy,
From the error it seems the value of a property "com.citrix.cpbm.portal.settings.default.currency" in cloud.properties file (available at /usr/share/vts3/repository/prop/) is empty. This field has a default value of 'USD'. This field cannot be empty. Did you change this property?
Can you please set it to 'USD' or any other currency, as shown below?
com.citrix.cpbm.portal.settings.default.currency='USD'
You must restart the CPBM server after making above changes.
Let me know if this does not resolve the issue.
Thanks,
Manish
It made some effect but now I get the following error:
Hi Guy,
Can you please make sure that the property value is as below
com.citrix.cpbm.portal.settings.default.currency='USD'
Please note the single quotes around USD.
From the error above it seems you missed the single quotes.
Error executing SQL update configuration set value=USD where name='com.citrix.cpbm.portal.settings.default.currency': Unknown column 'USD' in 'field list'
Thanks,
Manish
Ask, Discuss, Answer