Register

Closed Thread

Forum Administrator

Lyle@Spry's Avatar

Join Date: May 2005
Posts: 455
 
03-15-2006, 10:47 PM
Default

Quote:
Originally Posted by tamlyn
It recompiled php OK but apache is still v1.3.33 and not v1.3.34. There were a couple of errors in the build:<snip>
just using default options for apache (ticked GD for php but php compiled fine). I tried building again with 'verbose' on but that time it didn't give any error messages (although it still doesn't appear to have upgraded apache). What's going on!
cPanel will revert to last known good options if there are any errors during the build. That's probably why no errors appeared the second time around.
Quote:
Originally Posted by tamlyn
If I ignore the whm thing and just compile apache from the command line will that confuse cpanel on the next upgrade?
Just be sure to compile with same (or similar) options. cPanel won't be confused (unless you change where the config file is, install location...), but easyapache/Apache Update may behave weird if you try to use it after doing a compile without it once.
Lyle@Spry is offline
Junior Member

Join Date: Mar 2007
Posts: 3
 
03-08-2007, 03:11 PM
Default

Got that problem when i try to upgrade apache at a fedora system , anyone give me a hand ?

Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
AlexMargetts is offline
Forum Administrator

Lyle@Spry's Avatar

Join Date: May 2005
Posts: 455
 
03-08-2007, 03:25 PM
Default

Quote:
Originally Posted by AlexMargetts
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
Hmmm, I've seen this on RHES where up2date was selected as the update method and didn't work, but never yum (in fact the fix on RHES was to disable up2date and use yum instead.)

Does yum work properly from the command line? If you have modified the yum repositories, set them back to the defaults. Here's a copy of a known working fedora /etc/yum.conf
Code:
[main]
exclude=apache* courier* exim* httpd* mod_ssl* mysql* perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
Lyle@Spry is offline
Junior Member

Join Date: Mar 2007
Posts: 3
 
03-08-2007, 08:49 PM
Default

Quote:
Originally Posted by Lyle@Spry
Hmmm, I've seen this on RHES where up2date was selected as the update method and didn't work, but never yum (in fact the fix on RHES was to disable up2date and use yum instead.)

Does yum work properly from the command line? If you have modified the yum repositories, set them back to the defaults. Here's a copy of a known working fedora /etc/yum.conf
Code:
[main]
exclude=apache* courier* exim* httpd* mod_ssl* mysql* perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=h*tp://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=h*tp://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=h*tp://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=h*tp://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
your .conf wokred like a charm , i didn't had any modifications on the yum configuration but there was lines missing ... thanks again

(added * on the urls because vbulletin whouldnt allow me to post links :-P)
AlexMargetts is offline
Junior Member

Join Date: Mar 2007
Posts: 2
 
03-25-2007, 12:25 AM
Default

Stupid question - isn't the latest version of Apache 2.2.?. How do I upgrade to this via the UI? Or can I do this via SSH?
GonzoOnRails is offline
Member

Join Date: Oct 2006
Posts: 90
 
03-25-2007, 07:47 AM
Default

Quote:
Originally Posted by GonzoOnRails
Stupid question - isn't the latest version of Apache 2.2.?. How do I upgrade to this via the UI? Or can I do this via SSH?
Yes, it is. I'm not aware of a way to upgrade via the UI? Cpanel has a page at http://www.cpanel.net/support/docs/easyapache.htm that talks about setting build variables. Once you have done this you'll need to run /scripts/easyapache from the command line. Keep in mind that I haven't tried this, so can't guarantee it's success.
Andrew@Spry is offline
Junior Member

Join Date: Mar 2007
Posts: 2
 
03-25-2007, 08:00 AM
Default

Alright, I'll check out cPanel for more info... So everyone is running old versions of Apache?

Paul

Last edited by GonzoOnRails; 03-25-2007 at 08:19 AM.
GonzoOnRails is offline
Junior Member

Join Date: Sep 2008
Posts: 1
 
09-18-2008, 02:02 PM
Default

when i try to run apache upgrade, i get these warnings:

Easy::Apache v3.2.0 Build 4436

!! Critical Warning (VZ): You are only only allowed to use 259 Megabytes of ram! 512 Megabytes is recommended. !!
!! Warning (VZ): You are only only guaranteed 239 Megabytes of ram! 512 Megabytes is recommended. !!
!! Warning (VZ): You are only only guaranteed 29 Megabytes of ram when the system is out of ram! 512 Megabytes is recommended. !!


is this because i need to upgrade to a higher-memory plan, or is the problem possibly somewhere else?

thanks,
mark12b is offline
Forum Administrator

Lyle@Spry's Avatar

Join Date: May 2005
Posts: 455
 
09-18-2008, 02:23 PM
Default

Hello,

This warning message indicates that Easy::Apache is only able to verify 259 Megabytes of memory is currently available for use. Other processes/daemons running in your VPS are using enough memory to trigger this warning.

Upgrading to a higher-memory plan (something that includes 253 more Megabytes of memory, 512 - 259 = 253) would eliminate this warning message (assuming your memory usage is constant), as would shutting down other services/daemons (even temporarily, like for the duration of the Apache Upgrade process) to free up 253MB of memory.
Lyle@Spry is offline
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 07:07 PM. Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 VBulletin Skin by ForumMonkeys.