Results 1 to 9 of 9

Thread: using httpd server of ZCS

  1. #1
    msrmanohar is offline Junior Member
    Join Date
    Mar 2009
    Posts
    5
    Rep Power
    6

    Default using httpd server of ZCS

    Hi,

    I have recently installed ZCS Community edition on CentOS and it is working fine. I would like to host some webpages (html) on the same hardware by using the httpd. But as there is an internal httpd server in ZCS, I am unable to put these pages on the regular httpd server. Can I make use of the ZCS based httpd or the Jetty for hosting these pages? If so, what is the procedure?

    Thanks in advance,
    --manohar

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    If you were to move ZCS onto the HTTPS port using Wiki :: zmtlsctl you could then run you standard web server on port 80.

  3. #3
    msrmanohar is offline Junior Member
    Join Date
    Mar 2009
    Posts
    5
    Rep Power
    6

    Default using httpd server of ZCS

    Dear friend,
    I have followed that document - I gave
    - zmtlsctl both
    Later I have kept my html page at /opt/zimbra/httpd/htdocs/ and restarted zimbra. When I access https://myserver-name/mypage.html, 404 error is thrown. Kindly help.

    --manohar

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    See if this is what you would like to do :- Wiki :: HTTP(s) integration with Apache

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,488
    Rep Power
    56

    Default

    Quote Originally Posted by msrmanohar View Post
    I have recently installed ZCS Community edition on CentOS and it is working fine. I would like to host some webpages (html) on the same hardware by using the httpd. But as there is an internal httpd server in ZCS, I am unable to put these pages on the regular httpd server. Can I make use of the ZCS based httpd or the Jetty for hosting these pages? If so, what is the procedure?
    Do not try and host any website within the Zimbra httpd, you may impact the performance of Zimbra or you may break Zimbra and you certainly will lose any changes when you do an upgrade. As you've already been told, use another instance of Apache to host your website.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    > zmtlsctl both
    That will configure the mailboxd jetty service to listen on both the http and https ports (80 and 443 by default). You'll have to run "zmtlsctl https" to cause jetty to only listen on the https port if you would like to run another httpd on port 80.

    The files at /opt/zimbra/httpd/htdocs/ are served by the spell check http service on port 7780.

  7. #7
    thorng is offline Active Member
    Join Date
    Apr 2009
    Posts
    46
    Rep Power
    6

    Default

    zmtlsctl https
    yum install httpd
    service httpd start

  8. #8
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    Are you looking for adding portal ?
    If yes then run this :-
    zmprov gc default | grep -i portal
    zimbraFeaturePortalEnabled: TRUE
    zimbraPortalName: example

    The default example pages are at /opt/zimbra/mailboxd/webapps/zimbra/portals/example

    you need to modify these.

  9. #9
    krishnapandey1984 is offline New Member
    Join Date
    Jul 2010
    Posts
    5
    Rep Power
    4

    Default mysql.server not running mailbox stoped

    zmcontrol status
    zmcontrol status gave error mysql.server not running mailbox stoped
    vi /etc/hosts/
    ip added with hostname eg. IP zimbra.domainname.com zimbra
    as mysql gave error we did this
    zmcontrol stop
    to Delete the mysql data and re initialize an empty data directory. If you do not
    do this, zmrestoreoffline will have errors. As zimbra, type
    a. rm -rf /opt/zimbra/db/data/*
    b. /opt/zimbra/libexec/zmmyinit
    The mySQL service is now running
    we created user zimbra in mysql database and set password
    login in mysql -u zimbra -p
    zmcontrol restart
    zmcontrol status
    zmtlsctl status
    zmtlsctl https
    zmcontrol restart
    zmcontrol status


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Erorr..initializing ldap failed(5362)
    By Logan_filter in forum Installation
    Replies: 10
    Last Post: 12-19-2008, 01:10 PM
  2. failed to install zimbra cos of zmmailboxd
    By aljoshab in forum Installation
    Replies: 4
    Last Post: 12-09-2008, 02:33 AM
  3. ZCS as local LAN mail server
    By SCIL in forum Installation
    Replies: 25
    Last Post: 10-31-2008, 04:10 AM
  4. Error after installation
    By robsontuxlinux in forum Installation
    Replies: 13
    Last Post: 09-11-2008, 09:48 PM
  5. [SOLVED] Moving ZCS to new server - fails
    By scarrington in forum Administrators
    Replies: 14
    Last Post: 07-04-2008, 10:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •