Unable to start proxyctl and unable to open webmail

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
pruthvi.allepelli
Posts: 3
Joined: Fri Aug 12, 2016 11:15 am

Unable to start proxyctl and unable to open webmail

Postby pruthvi.allepelli » Fri May 05, 2017 2:56 pm

Hi,
tried to access zimbra on both http and https, it was working fine, but after rebooting the server proxy is not running showing the error "Starting nginx...nginx: [emerg] unexpected "}" in /opt/zimbra/conf/nginx/includes/nginx.conf.web.https.default:5
failed."


then i can able to access administration console but not the normal user login.
And i can even open normal user login when i give 8443 port in the url.
can anybody help.


phoenix
Ambassador
Ambassador
Posts: 26619
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Unable to start proxyctl and unable to open webmail

Postby phoenix » Fri May 05, 2017 4:13 pm

Do you, by any chance, have another web server running on this server? If you do I suggest you stop it and disable it from running then restart ZCS.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
Raun
Zimbra Employee
Zimbra Employee
Posts: 75
Joined: Thu Mar 24, 2016 1:22 pm

Re: Unable to start proxyctl and unable to open webmail

Postby Raun » Sat May 06, 2017 5:51 am

pruthvi.allepelli wrote:Hi,
tried to access zimbra on both http and https, it was working fine, but after rebooting the server proxy is not running showing the error "Starting nginx...nginx: [emerg] unexpected "}" in /opt/zimbra/conf/nginx/includes/nginx.conf.web.https.default:5
failed."


then i can able to access administration console but not the normal user login.
And i can even open normal user login when i give 8443 port in the url.
can anybody help.


Also What does you nginx.conf.web.https.default file looks like?

Typical top 7 lines look like this.


# HTTPS Proxy Default Configuration
#
server
{
#listen [::]:443 default ipv6only=off;
listen 443 default;
#listen [::]:443 default;

try running zmproxyconfgen . It should recreate that file from template and ldap.
pruthvi.allepelli
Posts: 3
Joined: Fri Aug 12, 2016 11:15 am

Re: Unable to start proxyctl and unable to open webmail

Postby pruthvi.allepelli » Tue May 09, 2017 8:06 am

Hi,
Raun thanks for your replay and time.
It's actually closed brace " } " is there.. It should be open brace " { " ..
And the command you gave its not working (ProxyConfGen).

nginx.conf.web.https.default File

# HTTPS Proxy Default Configuration
#

server
}

#listen [::]:443 default;
listen 443 default;
#listen [::]:443 default ipv6only=on;
pruthvi.allepelli
Posts: 3
Joined: Fri Aug 12, 2016 11:15 am

Re: Unable to start proxyctl and unable to open webmail

Postby pruthvi.allepelli » Tue May 09, 2017 8:25 am

Raun wrote:
pruthvi.allepelli wrote:Hi,
tried to access zimbra on both http and https, it was working fine, but after rebooting the server proxy is not running showing the error "Starting nginx...nginx: [emerg] unexpected "}" in /opt/zimbra/conf/nginx/includes/nginx.conf.web.https.default:5
failed."


then i can able to access administration console but not the normal user login.
And i can even open normal user login when i give 8443 port in the url.
can anybody help.


Also What does you nginx.conf.web.https.default file looks like?

Typical top 7 lines look like this.


# HTTPS Proxy Default Configuration
#
server
{
#listen [::]:443 default ipv6only=off;
listen 443 default;
#listen [::]:443 default;

try running zmproxyconfgen . It should recreate that file from template and ldap.



######################
Hey Raun i Solved the problem just replaced the template file restarted proxy it's now working fine..
Thank you.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 14 guests