Results 1 to 6 of 6

Thread: mapi.so.0.0.0 generates PHP errors when service is restarted

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    15

    mapi.so.0.0.0 generates PHP errors when service is restarted

    This is from a bug reported here with Zarafa installed on SME Server:



    However if you temporarily ignore the SME Server involvement, there appears to be errors in mapi.so.0.0.0. When the apache/php service is restarted using 'sv sigusr1', errors are generated and the service fails to start:

    The current workaround is to issue a full service restart:

    sv restart httpd-e-smith

    However we need a fix to this issue as most of the SME action scripts issue 'sv sigusr1'.

    BTW, I am not an SME developer, only a SME community contributor.

    Darrell

  2. #2
    Zarafa Developer

    Join Date
    May 2006
    Location
    Delft
    Posts
    636

    Re: mapi.so.0.0.0 generates PHP errors when service is restarted

    It only fails with those two functions? Seems like a problem with the ZEND_FALIAS macro, but we have 10 more of those function alias definitions too.
    You could try to remove the two alias functions that give the error by editing php-ext/main.cpp. They're at the end of the zend_function_entry mapi_functions[] array. These two aliases mentioned here are for backward compatibility, but aren't used in the 6.20 webaccess anymore, so it only might break custom php scripts.
    If it isn't reproducable, it's not a bug.
    If it is reproducable, it's meant to be that way.

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    15

    Re: mapi.so.0.0.0 generates PHP errors when service is restarted

    John,

    What is the exact path and filename of the file are you suggesting I edit?

    Darrell

  4. #4
    Zarafa Developer

    Join Date
    May 2006
    Location
    Delft
    Posts
    636

    Re: mapi.so.0.0.0 generates PHP errors when service is restarted

    In the source tree: php-ext/main.cpp
    If it isn't reproducable, it's not a bug.
    If it is reproducable, it's meant to be that way.

  5. #5
    Junior Member
    Join Date
    Oct 2008
    Posts
    8

    Re: mapi.so.0.0.0 generates PHP errors when service is restarted

    no, as indicated by the snip there were a screenfull, 12 could be right

  6. #6
    Junior Member
    Join Date
    Oct 2008
    Posts
    8

    : mapi.so.0.0.0 generates PHP errors [Solved]

    this was a configuration error, we were trying to load mapi twice
    details on smeserver bug fyi

Similar Threads

  1. zarafa-licence service + MAPI
    By lamby in forum Installation, Configuration and Maintenance
    Replies: 4
    Last Post: 17-04-2012, 07:21 AM
  2. Zarafa on CentOS 5.7 - mapi errors
    By wimg in forum Installation, Configuration and Maintenance
    Replies: 7
    Last Post: 08-02-2012, 09:12 AM
  3. Creating DL list generates Server 500 error
    By tfoley in forum WebAccess
    Replies: 2
    Last Post: 02-11-2011, 03:50 PM
  4. gateway service dying on 6.40.1
    By agcopley in forum Installation and Configuration Archives
    Replies: 1
    Last Post: 24-08-2010, 10:03 PM
  5. Software generates url wich zarafa can't interpret
    By geert in forum WebAccess usage Archives
    Replies: 2
    Last Post: 18-07-2008, 07:18 AM

Bookmarks

Posting Permissions

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