The Perfect Server - Ubuntu Hardy Heron

Discussion in 'HOWTO-Related Questions' started by SamTzu, May 11, 2008.

  1. SamTzu

    SamTzu Member HowtoForge Supporter

    I'm getting errors like this in /var/log/apache2/error.log

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/imagick.so' - libMagick.so.9: cannot open shared object file: No such file or directory in Unknown on line 0

    Anyone know what thats about?

    The file seems to be there...
    /usr/lib/libMagick.so.10 -> libMagick.so.10.0.9
     
    Last edited: May 11, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

  3. SamTzu

    SamTzu Member HowtoForge Supporter

    File/Folder permission problems on PHP

    Hi, all.
    I'm having strange problems with the new server.
    Joomla keeps complaining about folder permissions.
    It sayz that user doesnt not have rights to write to the folder though that is not so.

    I know I should remember this but I can't. Was there some umask setting somewhere that I still need to fix?

    Or is this related to my attempt to replace the /tmp folder with a new virtual drive.
    Should the ISPConfig temp files there look like this..?
     
    Last edited: May 15, 2008
  4. geareddesign

    geareddesign New Member

    Set-up for Local Network Only?

    I am new to setting up Ubuntu and LAMP web server. I would like to create a local web server only (no access from outside world) to use as a development environment. Is there anything special I should do during the install/set-up process to ensure that the sever is restricted to only my local network. I assume that the steps in the process shown on the HOWTO opens the server up to the www, but I could be wrong.

    Thank you in advance for any guidance you have to offer.

    ~ Misty
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What are the permissions and owners of these folders?
    Are you using suPHP? Did you disable AppArmor?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Hi Misty,

    please open a new thread for this - otherwise this one will be too confusing.
     
  7. geareddesign

    geareddesign New Member

  8. SamTzu

    SamTzu Member HowtoForge Supporter

    Permissions and users seem to be correct.
    Folder permissions are drwxr-xr-x in Joomla dir.

    I disabled the AppArmor and I use suExec.
    I also see this folder exists...
    /home/admispconfig/ispconfig/tools/suphp

    How do I know if ISPConfig is using suPHP?
    I remeber something about suPHP suExec not working well togerher?
    Is this still true?

    I'm pretty sure this is about su/chrooted problem.
    Joomla complains about the right to write to configuration.php file though the user has those rights.
    So it must be www-data user that has problems then, right?

    Sam
     
    Last edited: May 16, 2008
  9. falko

    falko Super Moderator ISPConfig Developer

    Can you post the vhost configuration for that web site from Vhosts_ispconfig.conf? Then I can see whether you're using suPHP or not.
     
  10. SamTzu

    SamTzu Member HowtoForge Supporter

    Doesnt look like suPHP is used.

    [email protected]:/home/administrator# cat /etc/apache2/vhosts/Vhosts_ispconfig.conf
    I dont see any suphp lines here...
     
    Last edited: May 18, 2008
  11. SamTzu

    SamTzu Member HowtoForge Supporter

    It does not seem to be suExec.
    I disabled it and normal user still cant edit configuration.php in Joomla.
    If I login as a user using SSH I can manually configure configuration.php using vi.
    So its somewhere between apache-php (or maybe chroot)
     
    Last edited: May 18, 2008
  12. SamTzu

    SamTzu Member HowtoForge Supporter

    Ok. I have finally tracked the problem to suPHP.
    I remembered reading about this some years back, and true enough after some digging I found this article.

    After changing the umask to 0022 Joomla still does not work correctly.

    What am I still missing?

    Edit<I can't figure it out So I gave up and just use the ftp mode in Joomla.>
     
    Last edited: May 18, 2008
  13. SamTzu

    SamTzu Member HowtoForge Supporter

    I'm wondering if someone could update this article a litle bit.
    http://www.howtoforge.com/apache2_suphp_php4_php5_p3
    <EDIT> Found it here...
    http://www.howtoforge.com/install-s...tions-for-use-with-ispconfig-2.2.20-and-above

    I'm particularly interested in how this relates to Ubuntu 8.04 LTS and ISPConfig.

    Installing the suphp was not difficult.

    If I try to Set ISPConfig to "suphp" then I get the Vhosts_ispconfig.conf dissapearing problem.

    If I dont set it I get problems with user rights.

    What did the man say? Ah yes...
    "Your damned if you do, your damned if you dont."
     
    Last edited: May 21, 2008
  14. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /etc/apache2/vhosts
    ?
     
  15. volkswagner

    volkswagner New Member

    Bind9, restart error.

    I am not sure if this was a fluke but I am not alone.

    Thank you for writing such a comprehensive guide. It makes a newbie like me, able to dive into servers.

    I had one issue during the bind9 setup. When restarting bind9 I got an error. It seems there is another service which needs to be restarted. I was able to get it working with a restart of the system. I found another user with the same issue.

    You can see the details here.

    http://ubuntuforums.org/showthread.php?t=800471

    cheers, and thanks again.

    Eric
     
  16. SamTzu

    SamTzu Member HowtoForge Supporter

    Got it working after reinstalling the suphp just like in the newer suphp guide.
     

Share This Page