P r o f e s s i o n a l — M a n a g e m e n t — S o l u t i o n s
RSS icon Email icon Home icon
  • Plesk yum update shows: [Errno 14] HTTP Error 404: Not Found

    Posted on May 4th, 2010 Admin No comments

    Today while trying to run yum update for one of our server we got the following error.

    yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * addons: mirror.bytemark.co.uk
    * atomic: www5.atomicorp.com
    * base: mirror.sov.uk.goscomb.net
    * extras: mirror.sov.uk.goscomb.net
    * updates: mirror.sov.uk.goscomb.net

    http://www4.atomicorp.com/channels/plesk/9.0/centos/5/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found

    To fix this we logged into the server and from /etc/yum.repos.d/ delete the plesk.repo and run the yum updater again.  Please make sure if you are primarly using atomic corps repo.

    Share/Save/Bookmark

  • Update to PHP5 on CentOS 4.5 ( plesk )

    Posted on November 27th, 2008 Admin No comments

    One nice thing about CentOS is the long support life and stability of the system. One not so nice thing is that because it is based on Red Hat Enterprise, the package selection is pretty conservative. That’s not too bad though, Apache is 2.0.52, MySQL is a 4.0.x version, so things are reasonably current. One thing that’s really dated though is PHP (4.3.x)… We have been using PHP 5 for a while and quite like it, so a PHP 5 package for CentOS would be nice. Good news though is that one already exists, its in the CentOSPlus repository.

    To enable CentOSPlus edit /etc/yum.repos.d/CentOS-Base.repo. After [centosplus] heading, you’ll see a line that currently says “enabled=0. Change that to “enabled=1″ to enable CentOSPlus. Once the CentOSPlus repo is enabled, “yum update php” will search the repository and offer to upgrade any packages to newer versions from CentOSPlus. If you had PHP installed previously, this will upgrade you to PHP 5.1.x.

    Once you’ve got php 5 and the php-pgsql package installed, check the “extension_dir” setting in php.ini, make sure the directory exists and the pgsql.so file is in that directory. Mine is set to “/usr/lib/php/modules”, so that’s where the .so files will be installed by default. If yours isn’t set to that directory then it might be easier to change the extension_dir rather than move the .so’s.

    Make sure the line “extension=pgsql.so” appears somewhere either in php.ini or one of the /etc/php.d/*.ini files. This will force PHP to load the pgsql extension.

    For ex. If update missed GD here is what you need to do

    Installing the GD library is easy on CentOS thanks to yum.  Simply type:

    yum install gd gd-devel php-gd

    make sure /etc/php.d/gd.ini the extension is enabled

    Thats all. If you have trouble updating php on Centos with Plesk please contact our support department support@24×7servermanagement.com for help.

    Share/Save/Bookmark

  • mchk.exe –all” fails and does not repair Mail Server configuration

    Posted on July 10th, 2008 Admin 1 comment

    Unable to create new domain domain.com [domain.com] in postoffice domain.com: MEAOSM.Domain.AddDomain failed

    To fix Please use

    mchk.exe –all –fix=all

    Share/Save/Bookmark

  • Default Plesk page

    Posted on July 9th, 2008 Dan No comments

    The domain is resolved to an IP that belongs to the Plesk server. If you open the domain you see the Plesk default page:
    Read the rest of this entry »

    Share/Save/Bookmark

  • Create wildcard subdomains

    Posted on July 9th, 2008 Dan No comments

    Create a subdomain for the domain you wish with the name like ‘zz-wildcard’ in Plesk. This domain have to be the last in the subdomains’ list ordered alphabetically, so we name it beginning from ‘zz’.

    Read the rest of this entry »

    Share/Save/Bookmark

  • Cannot start Web server from Plesk panel, No such file ‘/usr/local/etc/rc.d/apache2.sh’ error appears

    Posted on July 9th, 2008 Dan No comments

    Attempts to start or stop apache web service on Server > Services page fail with error

    ERROR: PleskFatalException
    Unable to make action: Unable to manage service by websrvmng:
    websrvmng: No such file ‘/usr/local/etc/rc.d/apache2.sh’:
    No such file or directory System error 2: No such file or directory

    Read the rest of this entry »

    Share/Save/Bookmark

  • Apache failed to start with the “could not open document config file” error

    Posted on July 9th, 2008 Dan No comments

    Apache failed to start with the error:

    # /etc/init.d/httpd start
    Starting httpd: httpd: could not open document config file /var/www/vhosts/DOMAIN/conf/httpd.include
    [FAILED]

    Read the rest of this entry »

    Share/Save/Bookmark

  • Windows 2003 server commands

    Posted on January 5th, 2008 Mark No comments

    $@$Useful Commands For Windows Server$@$

    Read the rest of this entry »

    Share/Save/Bookmark

  • Disable DrWeb notification e-mails in Plesk

    Posted on January 1st, 2008 Mark No comments

    To Disable DrWeb notification e-mails

    “%plesk_dir%\mysql\bin\mysql” -uadmin -padmin_password -P8306 psa

    First, make sure that record responsible for antivirus notification exists in table psa.misc. You can check it using this query…………

    Read the rest of this entry »

    Share/Save/Bookmark