Apache won't start after update

Discussion in 'Installation/Configuration' started by glapolla, Mar 11, 2010.

  1. glapolla

    glapolla New Member

    I was running 3.0.1.6 and I ran the update for 3.0.2. Apache would not start after completing the update. The user ispapps is missing. I looked through all the code and I don't see anywhere where this user is created. has anyone else encountered this problem ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution?
     
  3. glapolla

    glapolla New Member

    Sorry about that. It's centos 5.4.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The code that adds the user is in install/lib/installer_base.lib.php around line 1086. I did not had that problems during my tests, so I'am not sure why this user was not created in your setup. Lets see if others have this problem too.

    Do you have any errors regarding the creation of this user in the /var/log/ispconfig_install.log ?
     
  5. glapolla

    glapolla New Member

    I found this in the logs

    Thu Mar 11 07:17:07 PST 2010 - [ISPConfig] - /usr/src/ispconfig3_install/install/lib/installer_base.lib.php, Line 1084: WARNING: Failed to execute the command groupadd ispapps
    Thu Mar 11 07:17:08 PST 2010 - [ISPConfig] - /usr/src/ispconfig3_install/install/lib/installer_base.lib.php, Line 1087: WARNING: Failed to execute the command useradd -g ispapps -d /var/www/apps ispapps
    Thu Mar 11 07:17:08 PST 2010 - [ISPConfig] - /usr/src/ispconfig3_install/install/lib/installer_base.lib.php, Line 1091: WARNING: Failed to execute the command adduser apache ispapps


    I think I may know how this happened. When I switched to root I only did su, I did it again using su - and it worked. Maybe add the full path in future versions.

    Greg
     

Share This Page