Starting Centova Cast: cc-control cc-appserver cc-web nginx: [emerg] unknown "startpagedomain" variable
Hmm, I'm really not sure why you're only encountering this now -- this goes back to the cc-panel.conf change we made a couple of builds ago, which I believe you had problems with at the time and had to manually create it. $startpagedomain should be defined in /usr/local/centovacast/etc/cc-panel.conf. Here's what the default cc-panel.conf looks like:
# =============================================================================
#
# Centova Cast - Copyright 2010-2012, Centova Technologies Inc.
# Web Interface Local Configuration File
#
# =============================================================================
#
# WARNING:
# These settings normally should not need to be modified except as
# instructed by Centova Technologies.
#
# Problems caused as a result of modification of this file are not covered
# under your Centova Cast support agreement. Should you require technical
# support as a result of modifying this file, it will be billed at Centova
# Technologies' hourly professional services rate.
#
# PORT NUMBER / INTERFACE
# if you prefer to use an alternate port for your Centova Cast web interface, change
# the port number below, but make sure you update MASTER_PORT in etc/cc-control.conf too
#
# to bind to a specific interface, use ip:port (eg: listen 10.2.3.4:2199 default ssl)
# and update MASTER_ADDR in etc/cc-control.conf as well
#
# note that this port will serve both SSL (https://) and non-SSL (http://) requests
listen 2199 default ssl;
# HOSTNAMES
# if you wish to use start page urls in the format http://username.yourdomain.com (instead of the
# standard http://yourdomain.com/start/username) you can specify yourdomain.com here and configure
# wildcard dns for *.yourdomain.com to point to your Centova Cast web interface server's IP address
set $startpagedomain centovacast;
# you can specify the hostname for your web interface here, although it's usually not needed
server_name centovacast;
1. Comment lines 213 to 215 in cc-interface.conf
#if ($basedomain = $startpagedomain) {
# rewrite ^/?$ /start/$subdomain last;
#}
This will work for now, but will be overwritten the next time you upgrade so it's probably not the best solution.
2. add line "listen 2199 default;" in cc-interface.conf
That should not be necessary -- it should already be configured in cc-panel.conf (see the example above for what it should look like). And also, it should be "listen 2199 ssl;" not "listen 2199 default;".
Remember that (per my earlier discussion with you) we changed it to support HTTP and HTTPS on the same port in this build, so SSL should always be turned on in the cc-panel.conf file and you can always access the web interface at
http://foo:2199 or
https://foo:2199 now.