HELP REQUIRED

Discussion in '3CX Phone System - General' started by tomlinm, Oct 27, 2007.

  1. tomlinm

    Joined:
    Oct 27, 2007
    Messages:
    20
    Likes Received:
    0
    Hi Everyone,

    I am having problems with a new installation of the FREE version of 3cx, installed on W2k3 server.

    The server installs, runs and can load http://localhost:5481

    I then login with my credentials, however when trying to view any of the pages get an error message similar to :-

    Code:
     Fatal error: Call to undefined function sm_ca_register_session() in C:\Program Files\3CX\Data\Http\functions\smSessionMgr.php on line 23
    As you can see the installation directory is :-

    Code:
    C:\Program Files\3CX\
    However when checking the apache logs i find the following:-


    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\php_cmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 00:40:36 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 00:40:36 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 00:40:36 2007] [notice] Parent: Created child process 174500
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\php_cmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 00:40:37 2007] [notice] Child 174500: Child process is running
    [Sat Oct 27 00:40:37 2007] [notice] Child 174500: Acquired the start mutex.
    [Sat Oct 27 00:40:37 2007] [notice] Child 174500: Starting 250 worker threads.
    [Sat Oct 27 00:58:40 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 00:58:40 2007] [notice] Child 174500: Exit event signaled. Child process is ending.
    [Sat Oct 27 00:58:41 2007] [notice] Child 174500: Released the start mutex
    [Sat Oct 27 00:58:42 2007] [notice] Child 174500: Waiting for 250 worker threads to exit.
    [Sat Oct 27 00:58:42 2007] [notice] Child 174500: All worker threads have exited.
    [Sat Oct 27 00:58:42 2007] [notice] Child 174500: Child process is exiting
    [Sat Oct 27 00:58:42 2007] [notice] Parent: Child process exited successfully.
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\php_cmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 00:58:45 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 00:58:45 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 00:58:45 2007] [notice] Parent: Created child process 166472
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\php_cmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 00:58:46 2007] [notice] Child 166472: Child process is running
    [Sat Oct 27 00:58:46 2007] [notice] Child 166472: Acquired the start mutex.
    [Sat Oct 27 00:58:46 2007] [notice] Child 166472: Starting 250 worker threads.
    [Sat Oct 27 01:05:31 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:05:31 2007] [notice] Child 166472: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:05:32 2007] [notice] Child 166472: Released the start mutex
    [Sat Oct 27 01:05:33 2007] [notice] Child 166472: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:05:33 2007] [notice] Child 166472: All worker threads have exited.
    [Sat Oct 27 01:05:33 2007] [notice] Child 166472: Child process is exiting
    [Sat Oct 27 01:05:33 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:05:35 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:05:35 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:05:35 2007] [notice] Parent: Created child process 176648
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\php_cmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:05:36 2007] [notice] Child 176648: Child process is running
    [Sat Oct 27 01:05:36 2007] [notice] Child 176648: Acquired the start mutex.
    [Sat Oct 27 01:05:36 2007] [notice] Child 176648: Starting 250 worker threads.
    [Sat Oct 27 01:08:17 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:08:17 2007] [notice] Child 176648: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:08:18 2007] [notice] Child 176648: Released the start mutex
    [Sat Oct 27 01:08:19 2007] [notice] Child 176648: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:08:20 2007] [notice] Child 176648: All worker threads have exited.
    [Sat Oct 27 01:08:20 2007] [notice] Child 176648: Child process is exiting
    [Sat Oct 27 01:08:21 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:08:22 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:08:22 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:08:22 2007] [notice] Parent: Created child process 178284
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:08:23 2007] [notice] Child 178284: Child process is running
    [Sat Oct 27 01:08:23 2007] [notice] Child 178284: Acquired the start mutex.
    [Sat Oct 27 01:08:23 2007] [notice] Child 178284: Starting 250 worker threads.
    [Sat Oct 27 01:09:34 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:09:34 2007] [notice] Child 178284: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:09:35 2007] [notice] Child 178284: Released the start mutex
    [Sat Oct 27 01:09:36 2007] [notice] Child 178284: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:09:36 2007] [notice] Child 178284: All worker threads have exited.
    [Sat Oct 27 01:09:36 2007] [notice] Child 178284: Child process is exiting
    [Sat Oct 27 01:09:36 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:09:37 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:09:37 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:09:37 2007] [notice] Parent: Created child process 181396
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:09:38 2007] [notice] Child 181396: Child process is running
    [Sat Oct 27 01:09:38 2007] [notice] Child 181396: Acquired the start mutex.
    [Sat Oct 27 01:09:38 2007] [notice] Child 181396: Starting 250 worker threads.
    [Sat Oct 27 01:12:06 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:12:06 2007] [notice] Child 181396: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:12:07 2007] [notice] Child 181396: Released the start mutex
    [Sat Oct 27 01:12:09 2007] [notice] Child 181396: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:12:09 2007] [notice] Child 181396: All worker threads have exited.
    [Sat Oct 27 01:12:09 2007] [notice] Child 181396: Child process is exiting
    [Sat Oct 27 01:12:09 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:12:13 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:12:13 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:12:13 2007] [notice] Parent: Created child process 182252
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:12:13 2007] [notice] Child 182252: Child process is running
    [Sat Oct 27 01:12:13 2007] [notice] Child 182252: Acquired the start mutex.
    [Sat Oct 27 01:12:13 2007] [notice] Child 182252: Starting 250 worker threads.
    [Sat Oct 27 01:19:56 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:19:56 2007] [notice] Child 182252: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:19:57 2007] [notice] Child 182252: Released the start mutex
    [Sat Oct 27 01:19:58 2007] [notice] Child 182252: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:19:58 2007] [notice] Child 182252: All worker threads have exited.
    [Sat Oct 27 01:19:58 2007] [notice] Child 182252: Child process is exiting
    [Sat Oct 27 01:19:58 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:19:59 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:19:59 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:19:59 2007] [notice] Parent: Created child process 180268
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:20:00 2007] [notice] Child 180268: Child process is running
    [Sat Oct 27 01:20:00 2007] [notice] Child 180268: Acquired the start mutex.
    [Sat Oct 27 01:20:00 2007] [notice] Child 180268: Starting 250 worker threads.
    [Sat Oct 27 01:21:33 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:21:33 2007] [notice] Child 180268: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:21:34 2007] [notice] Child 180268: Released the start mutex
    [Sat Oct 27 01:21:35 2007] [notice] Child 180268: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:21:35 2007] [notice] Child 180268: All worker threads have exited.
    [Sat Oct 27 01:21:35 2007] [notice] Child 180268: Child process is exiting
    [Sat Oct 27 01:21:36 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:21:37 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:21:37 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:21:37 2007] [notice] Parent: Created child process 177076
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:21:38 2007] [notice] Child 177076: Child process is running
    [Sat Oct 27 01:21:38 2007] [notice] Child 177076: Acquired the start mutex.
    [Sat Oct 27 01:21:38 2007] [notice] Child 177076: Starting 250 worker threads.
    [Sat Oct 27 01:31:16 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
    [Sat Oct 27 01:31:16 2007] [notice] Child 177076: Exit event signaled. Child process is ending.
    [Sat Oct 27 01:31:17 2007] [notice] Child 177076: Released the start mutex
    [Sat Oct 27 01:31:18 2007] [notice] Child 177076: Waiting for 250 worker threads to exit.
    [Sat Oct 27 01:31:18 2007] [notice] Child 177076: All worker threads have exited.
    [Sat Oct 27 01:31:18 2007] [notice] Child 177076: Child process is exiting
    [Sat Oct 27 01:31:18 2007] [notice] Parent: Child process exited successfully.
    [Sat Oct 27 01:31:19 2007] [notice] Apache/2.0.58 (Win32) PHP/5.1.4 configured -- resuming normal operations
    [Sat Oct 27 01:31:19 2007] [notice] Server built: Apr 29 2006 17:47:10
    [Sat Oct 27 01:31:19 2007] [notice] Parent: Created child process 178908
    Apache.exe: Could not determine the server's fully qualified domain name, using 217.168.148.119 for ServerName
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files\\3CX\\Bin\\Php\\extensions\\phpcmstatus.dll' - The specified module could not be found.\r\n in Unknown on line 0
    [Sat Oct 27 01:31:20 2007] [notice] Child 178908: Child process is running
    [Sat Oct 27 01:31:20 2007] [notice] Child 178908: Acquired the start mutex.
    [Sat Oct 27 01:31:20 2007] [notice] Child 178908: Starting 250 worker threads.
    
    I had thought that this could have been a conflict with IIS and as such proceeded to remove it, however still the same.

    1 final point, the file that it says could not be found, does exist in that directory and this would lead me to assume that apache is not loading the libary files and possible environment variable, but that is wherei need help :)

    Mark
     
  2. 5qg4

    5qg4 Active Member

    Joined:
    Jan 31, 2007
    Messages:
    643
    Likes Received:
    0
    Please completely remove this installation. Then restart your machine. After that, try using default path (C:\Program Files\3CX PhoneSystem) for the new installation.
     
  3. tomlinm

    Joined:
    Oct 27, 2007
    Messages:
    20
    Likes Received:
    0
    I have already done this several times annd that is why the current installation directory is 3CX.

    The same errors are generated, with the exception of the path when installed under default directory.

    Mark

    any ideas?

    I still beleive it has something to do with environment variables...
     
  4. 5qg4

    5qg4 Active Member

    Joined:
    Jan 31, 2007
    Messages:
    643
    Likes Received:
    0
    Are you using administrator right id to install? Please try to grant 3cx service account as local administrator.
     
  5. tomlinm

    Joined:
    Oct 27, 2007
    Messages:
    20
    Likes Received:
    0
    done & done unfortunatley, to no avail
     
  6. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    Possible cause

    This could be caused by the following:

    An incorrect path setting in config.php. Check and make certain the entry in it is correct. Don't make any changes unless your really do know what you are doing.

    AND/OR

    .php files that are missing or in the wrong location. Maybe a permissions issue during install?

    Remember always backup backup backup before messing about with this stuff. Just because you are paranoid doesn't mean they aren't out to get you.

    Take care
     
  7. tomlinm

    Joined:
    Oct 27, 2007
    Messages:
    20
    Likes Received:
    0
    Hi All,

    Thanks for the advise, but still not working unfortunatley.

    I am still convinced that there might be a problem with environment variables...:(

    Mark
     

Share This Page