Recompile Apache :: Your Operating System's Rpm Update Method (yum) Was Not ..
i tried recompile Apache to install
--curl
--curl ssl
--mcrypt
by running /scripts/easyapache
then i get the error below. Can anyone help me out? i really dont know what todo here.
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 set up. You must correct this error before you can proceed.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Apache Update Problems (yum)
Just started running a new VPS and have tried to update apache through WHM and I get this error : 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. Someone told me to check out yum so I ran a command that he told me too and got this output : Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 94, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 381, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand return base.updatePkgs(extcmds) File "/usr/share/yum-cli/cli.py", line 672, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 109, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 338, in doSackSetup self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 200, in populateSack sack.populate(repo, with, callback, cacheonly) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 91, in populate dobj = repo.cacheHandler.getPrimary(xml, csum) File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 100, in getPrimary return self._getbase(location, checksum, 'primary') File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 93, in _getbase self.updateSqliteCache(db, parser, checksum, metadatatype) File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 382, in updateSqliteCache cur.execute("DELETE FROM "+table+ " where pkgKey in %s" % delpkgs) File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute self.rs = self.con.db.execute(SQL) _sqlite.DatabaseError: unable to open database file Its the database error that worries me, can anyone help me out with how to fix this? Running WHM 11.2.0 cPanel 11.11.0-S16999 CENTOS Enterprise 5 i686 - WHM X v3.1.0
View Replies!
View Related
Which Operating System
There's bloody heaps of them. Which one do I go for on my two new file servers? Which operating system out of these is the most common, has the most support, is most compatible? The server will be used to host videos and will run c-panel. A light weight OS is probably preferred but I really have no idea. And incase it helps, the servers have 512mb of ram, about 30 - 40GB of hDD (not actually sure) and an old AMD Duron. CentOS Debian Direct Admin Fedora FreeBSD Gentoo LiveCD Redhat Slackware
View Replies!
View Related
Which Windows Operating System To Get For DB Server
to get a dedicated sql server 2005 box and am not sure the best operating system. These are my choices: Windows Server 2003 Enterprise - 32 bit Windows Server 2003 Enterprise - 64 bit Windows Server 2003 R2 Enterprise - 32 bit Windows Server 2003 R2 Enterprise - 64 bit This is the server I'm thinking of getting - Dual Woodcrest Series - SATA Dual Intel Woodcrest 5130 Dual Core Processors 2 x 500GB Hard Drive 4096 MB RAM Currently, I have my IIS web server and sql server 2005 on the same machine and it's just too bogged down. That one runs windows 2003 standard 32 bit on a Dual Xeon 2.8GHz Processor 2 x 80GB Hard Drive 4096 MB RAM
View Replies!
View Related
Which Operating System For Web Server?
I have always used debian on my virtual machine but was just curious as to what OS people use for their hosting? The company I am looking at moving to for hosting offer the following options: * Debian * Ubuntu Server * Open Suse * Free BSD * Fedora Core * CentOS * Gentoo * Slackware * Windows 2003 Basic * Windows 2003 Pro I have heard from a lot of people that Freebsd is good for hosting but just wondering what your views are
View Replies!
View Related
Determining Operating System (Linux)
Without having all of the operating systems at my disposal for testing, I would like to figure out a way to determine the operating system of a remotely accessed Linux machine. It seems pretty strange though, since cPanel reports both machines I am using as being CENTOS Enterprise 4.5 i686, yet one's uname -a reports: Code: Linux hostsentry.crucialwebhost.com 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686 i686 i386 GNU/Linux Code: Linux main.7kb.org 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4 21:36:00 EDT 2007 i686 i686 i386 GNU/Linux I'm assuming there is a way to determine the OS from this information. Anyone know how?
View Replies!
View Related
Preferred Operating System For Web Serving
I have been online since 95 and I've got a lot of information I could help others with regarding web development and interface design. One thing I'm terrible at is System Administration, but I'm getting better and my first step is to pick a reliable operating system for both the webservers and the database servers. Would anyone be willing to answer the following questions or point me to a thread that already discusses these? A little background, our site has 200k members, 30k active and is growing by about 5k a week. We still run MySQL 4.0.27 on the DB servers and they are running FC2. The webservers are Apache 1.3.37 and PHP 4.4.2 running FC2 and FC4 as well. My questions 1. What OS would you prefer to upgrade to for the web servers? and a "few" reasons why? 2. What OS would you prefer to upgrade to for the database servers? and a "few" reasons why?
View Replies!
View Related
Invalid Command 'php_flag' - After Recompiling PHP & Apache?
After I recompiled Apache and PHP using easyapache from cPanel, we started getting all these weird errors. I'm getting a few people now complaining about not being able to enable register_globals. I believe (after searching) that having this enabled is a big security risk and shouldn't need to be used. However, some people apparently where using .haccess and php_flag to enable this. I did find on a few places that people can create their own php.ini file to emulate what was previously done with .htaccess? After searching around.. I found out that Register Globals can become a security risk based on the scripts configuration that uses it. This feature normally can be enabled via .htaccess using the glad "php_flag register_globals On". Creating a file called php.ini inside the directory of the site with the flag "register_globals=on" I believe will also enable this option. To enable this option on a global scale, you can edit '/usr/local/cpanel/3rdparty/etc/php.ini', but its not recommended. However.. We are unable to get the php.ini concept to work. Is there something I need to do to enable/allow users to do this for their account?
View Replies!
View Related
Yum Update
I get the following error, when I run 'yum update': Quote: [root@moloko ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www2.atomicorp.com * base: mirrors.usc.edu * updates: mirrors.serveraxis.net * addons: styx.biochem.wfubmc.edu * extras: mirrors.gigenet.com Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object
View Replies!
View Related
Using Yum To Update
I have two packages in Centos 5.3 that refuse to update via YUM. Coreutils and Findutils. coreutils.i386 0:5.97-19.el5 findutils.i386 1:4.2.27-5.el5 The error code returned is: error: unpacking of archive failed on file /usr/bin/find: cpio: rename error: unpacking of archive failed on file /bin/ls: cpio: rename I checked that the files are not immutable via chattr and that I am logged in as root. The directory is also writeable. I can't remove them or change their permissions. Any idea on how to force an upgrade? I checked with the support at Cpanel but they had no idea how to fix it and were less than helpful. root@server[~]# yum install fileutils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * extras: mirror.fdcservers.net * updates: mirror.fdcservers.net * base: pubmirrors.reflected.net * addons: chi-10g-1-mirror.fastsoft.net Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package coreutils.i386 0:5.97-19.el5 set to be updated --> Processing Dependency: findutils for package: coreutils --> Running transaction check ---> Package findutils.i386 1:4.2.27-5.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ...
View Replies!
View Related
YUM Update
I am researching how to upgrade my server, I have already tested #yum update and seen all the patches and upgrades that could be made for my server. My question is that by upgrading all these (mysql, php, etc) do i need to backup all my mysql databases or should the upgrade not affect my databases?
View Replies!
View Related
Yum Update
I just did yum update and got this error: There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.
View Replies!
View Related
Yum Update
I tried to update packages by yum and got this message: Error: djbdns-localcache conflicts with bind I installed QmailToaster from this url: [url] and I replaced bind with djbdns-localcache*.rpm. Seems it causes the problem. What should I do now?
View Replies!
View Related
Recompile Apache
I have set the Maxclients limit of my server to 3000, but it is actually Connecting 2048 connections maximum. I mean even i have set Maxclients limit in httpd.conf to 3000, but it still does 2048 connections. I want to know if there a way to increase the number to 3000 or more?
View Replies!
View Related
Centos Yum Update
Last night my server was updated to Centos 5.4 via yum update command. Is it recommended to restart the server after this update or it is fine to let it run ? .. there is also Cpanel on it,
View Replies!
View Related
YUM Update Fails
Whenever I try to run yum update on Cent OS I get this error: ---> Package udev.i386 0:095-14.20.el5_3 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object [root@liquidwind jeeves]#
View Replies!
View Related
Kernel Update With Yum
I have following error in kernel update with yum: Downloading Packages: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Package kernel conflicts with ecryptfs-utils < 44. Complete! So kernel not updated yet.
View Replies!
View Related
Yum Update Fails
Well when I try to run the yum update, it fails Code: root@server1 [~]# yum update Gathering header information file(s) from server(s) Server: CentOS-3 - Addons retrygrab() failed for: [url] Executing failover method failover: out of servers to try Error getting file [url] [Errno 4] IOError: <urlopen error > I stopped all firewalls before trying it.
View Replies!
View Related
Error Message With Yum Update
I keep getting this error whenever I try to update my packages which prevents me from doing any updates. Anyone have any idea how to solve this? Transaction Check Error: file /etc/aliases from install of setup-2.5.58-7.el5.noarch conflicts with file from package da_exim-4.67-1.i386
View Replies!
View Related
Yum Update Killed SSH
I did a yum update on my VPS and now I can't connect SSH. Putty gives me the error message "Network error:Connection refused. My VPS is running fine otherwise. I opened a support ticket and got this reply. "Not sure exactly what happened, but something you did has corrupted your system, I cannot even login to it from our node. I think the only thing you can do now is rebuild your system."
View Replies!
View Related
Yum Update Producing Error
I started a yum update on one of my VPS accounts. Halfway through the update I lost the connection to the server (Part of FDC's routing troubles...) Now that FDC is back up and running smoothly, I logged in and when I do a yum update, it refreshes the repositories like it should, but then throws this error: Quote: --> Running transaction check --> Processing Dependency: yum = 3.0.3-1.fc6 for package: yum-updatesd --> Finished Dependency Resolution Error: Missing Dependency: yum = 3.0.3-1.fc6 is needed by package yum-updatesd Hopefully there's an easy way to go about fixing it..
View Replies!
View Related
Php -v Keep Showing 4.4.7 Even After I Recompile Apache As 5.0.4
php -v keep showing 4.4.7 even after i recompile apache as 5.0.4 via WHM > Apache Update. Any ideas how to fix this? I am on the following server: WHM 11.2.0 cPanel 11.11.0-S16999 CENTOS Enterprise 5 x86_64 - WHM X v3.1.0 ./configure [@php-5.0.4]...(--enable-pic --with-libdir=lib64 --prefix=/usr --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pspell --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib).... . . . . . . . . . . . . Done configure: error: libXpm.(a|so) not found. make [@php-5.0.4]...(-j 8 clean).... Done make [@php-5.0.4]...(-j 8).... Done make [@php-5.0.4]...(install).... Done initfpsuexec: using apache 1.x support PHP version file has been updated to 4.4.7 Adding cPanel default aliases ...disabled scgi-bin since suexec is installed Done Executing /scripts/postbuildapache (if exists)...Done Configuring perl magic....Off Configuring php-pear magic....Off Configuring ruby magic....Off Configuring php-pecl magic....Off /etc/rc.d/init.d/httpd start: httpd started initfpsuexec: using apache 1.x support Attempting to restart httpd Waiting for httpd to restart... httpd started ok
View Replies!
View Related
How Big Risk Do I Take If I Don't Update The Kernel?
I'm a Windows guy and can little or nothing about Linux. How big risk do I take if I'm using a Linux VPS and never update/patch the kernel? I'm using CentOS 5 and LxAdmin. I can update the control panel, but I can not update/patch the kernel since I have no knowledge how I do that. I'm using a unmanaged plan, so no help there. Some of my sites are running Wordpress, but I'm always using the lates WP installation. I not using any other plugins that WG2, Gallery2, and remove max width. Nobody except me have access to the VPS, and I have no other FTP accounts or something like that on the VPS. I have no other scripts or any kind of dynamic pages on my VPS. What kind of risk do I have here? I'm currently having plans to cancel my second VPS that's using Win2003, and only use Linux in the future. I can cut my monthly expensive with 50% that way, but do I take a big risk doing it that way?
View Replies!
View Related
Can't Update My Payment Credit Card In Orbit At ThePlanet?
I have phoned 3 times and they have tested two different cards that I know work. For some unknown reason it can't update and shows my previous credit card. I have tried to update from Master Card to a Visa card. Has anyone of you problems updating your payment infos in Orbit? Further, I think it's strange they dont accept any other payment method. Have any of you been able to wire or somthing?
View Replies!
View Related
Error On Yum Update :: Error: Missing Dependency: Perl(Crypt:asswdMD5) Is Needed By Package Syslinux
--> Populating transaction set with selected packages. Please wait. ---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated ---> Package mtr.i386 2:0.72-1.el5.rf set to be updated ---> Package rsync.i386 0:3.0.2-1.el5.rf set to be updated ---> Package nmap.i386 2:4.20-1.el5.rf set to be updated ---> Package lftp.i386 0:3.7.1-1.el5.rf set to be updated ---> Package syslinux.i386 0:3.63-1.el5.rf set to be updated ---> Package dkms.noarch 0:2.0.19-2.el5.rf set to be updated ---> Package subversion.i386 0:1.4.6-0.1.el5.rf set to be updated --> Running transaction check --> Processing Dependency: perl(Crypt:asswdMD5) for package: syslinux --> Finished Dependency Resolution Error: Missing Dependency: perl(Crypt:asswdMD5) is needed by package syslinux when I run yum update
View Replies!
View Related
"yum Update" Failing On CentOS 5
I'm not sure if this is todo with the imminent release of 5.2, but I'm getting the following messages when running "yum update": Code: # yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated --> Running transaction check --> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum --> Processing Dependency: yum-fastestmirror for package: yum --> Processing Dependency: python-iniparse for package: yum --> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package yum-fastestmirror.noarch 0:1.0.4-3.el5.centos.2 set to be updated --> Running transaction check --> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum --> Processing Dependency: python-iniparse for package: yum --> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: yum-updatesd --> Finished Dependency Resolution Error: Missing Dependency: yum-metadata-parser >= 1.1.0 is needed by package yum Error: Missing Dependency: python-iniparse is needed by package yum Error: Missing Dependency: yum = 3.0.5-1.el5.centos.5 is needed by package yum-updatesd Anyone else having problems or know how to resolve this? yum is only using the standard CentOS-Base repositories. Searching for yum-metadata-parse gives: Code: #yum search yum-metadata-parser Loading "installonlyn" plugin Setting up repositories Reading repository metadata in from local files yum-metadata-parser.i386 1.0-8.fc6 base Matched from: yum-metadata-parser yum-metadata-parser.i386 1.0-8.fc6 installed Matched from: yum-metadata-parser
View Replies!
View Related
Yum Update Fails , Easyapache Also Fails [cent Os]
when I try to run yum update it throws an error Quote: Gathering header information file(s) from server(s) Server: CentOS-3 - Addons retrygrab() failed for: http://mirror.centos.org/centos/3/ad...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info [Errno 4] IOError: <urlopen error > when I run /etc/easyapache it too fails Quote: root@server1 [~]# /scripts/easyapache Testing connection speed...(this could take a while)............Done Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done 5 usable mirrors located Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done Creating directory buildapache Verifying archive integrity... All good. Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... ................................................................. 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! initfpsuexec: using apache 1.x support Waiting for httpd to restart..............finished. root 7208 0.8 0.5 46200 5772 ? S 02:06 0:00 /usr/local/apache/bin/httpd -DSSL httpd started ok
View Replies!
View Related
"yum Update" Has Broken My Server
I've just got my server and after running the command "yum update" followed by "reboot" to make sure my server was upto date, my server is failing to startup. The update installed over 400 updates, is this normal? and what can I do?
View Replies!
View Related
7200 Rpm HDD Vs. 10k Rpm HDD Performance
How much faster is a 10k rpm HDD vs a 7200 rpm HDD in a server environment? IMO, a 7200 rpm HDD is much faster than 5400 rpm HDD when it comes down to desktop PCs.. Just wondering if it's worth upgrading to a 10k rpm HDD from a 7200 rpm HDD and losing about 1TB of storage as well... (Comparing specifically 2 750GB 16mb cache 7200rpm SATA 2 HDD RAID 1 with 2 150GB 16mb cache 10krpm HDD in RAID 1)
View Replies!
View Related
Error During "Yum Update"
I'm trying to run "Yum update" but it ends up with error. Here is the full log: Code: yum update Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * rpmforge: ftp-stud.fht-esslingen.de * base: mirrors.service.softlayer.com * updates: mirrors.service.softlayer.com * addons: mirrors.service.softlayer.com * extras: mirrors.service.softlayer.com Excluding Packages in global exclude list Finished Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package perl-BSD-Resource.x86_64 0:1.2901-1.el5.rf set to be updated ---> Package iftop.x86_64 0:0.17-1.el5.rf set to be updated ---> Package perl-IO-Socket-SSL.noarch 0:1.13-1.el5.rf set to be updated ---> Package perl-HTML-Parser.x86_64 0:3.56-1.el5.rf set to be updated ---> Package perl-IO-Socket-INET6.noarch 0:2.54-1.el5.rf set to be updated ---> Package nss_ldap.i386 0:253-13.el5_2.1 set to be updated ---> Package lftp.x86_64 0:3.7.3-1.el5.rf set to be updated ---> Package perl-HTML-Tagset.noarch 0:3.20-1.el5.rf set to be updated ---> Package libxslt.x86_64 0:1.1.17-2.el5_2.2 set to be updated ---> Package perl-Compress-Zlib.noarch 0:2.011-1.el5.rf set to be updated --> Processing Dependency: perl(IO::Compress::Gzip::Constants) >= 2.011 for package: perl-Compress-Zlib --> Processing Dependency: perl(IO::Uncompress::Gunzip) >= 2.011 for package: perl-Compress-Zlib --> Processing Dependency: perl(IO::Compress::Gzip) >= 2.011 for package: perl-Compress-Zlib --> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.011 for package: perl-Compress-Zlib --> Processing Dependency: perl(IO::Compress::Base::Common) >= 2.011 for package: perl-Compress-Zlib ---> Package perl-Net-SSLeay.x86_64 0:1.32-1.el5.rf set to be updated ---> Package cadaver.x86_64 0:0.22.5-1.el5.rf set to be updated ---> Package udftools.x86_64 0:1.0.0b3-3.el5.rf set to be updated ---> Package spamassassin.x86_64 0:3.2.5-1.el5.rf set to be updated ---> Package perl-IO-Zlib.noarch 0:1.09-1.el5.rf set to be updated ---> Package perl-Net-DNS.x86_64 0:0.63-1.el5.rf set to be updated ---> Package perl-DBI.x86_64 0:1.605-1.el5.rf set to be updated --> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI --> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI ---> Package syslinux.x86_64 0:3.71-1.el5.rf set to be updated --> Processing Dependency: perl(Crypt::PasswdMD5) for package: syslinux ---> Package subversion.x86_64 0:1.5.1-0.1.el5.rf set to be updated ---> Package perl-Archive-Tar.noarch 0:1.38-1.el5.rf set to be updated ---> Package dkms.noarch 0:2.0.20.2-2.el5.rf set to be updated ---> Package mtr.x86_64 2:0.72-1.el5.rf set to be updated ---> Package libxslt-python.x86_64 0:1.1.17-2.el5_2.2 set to be updated ---> Package rsync.x86_64 0:3.0.3-1.el5.rf set to be updated ---> Package nfs-utils.x86_64 1:1.0.9-35z.el5_2 set to be updated ---> Package perl-Socket6.x86_64 0:0.20-1.el5.rf set to be updated --> Running transaction check ---> Package perl-Compress-Raw-Zlib.x86_64 0:2.011-1.el5.rf set to be updated ---> Package perl-Crypt-PasswdMD5.noarch 0:1.3-1.2.el5.rf set to be updated ---> Package perl-IO-Compress-Zlib.noarch 0:2.011-1.el5.rf set to be updated ---> Package perl-PlRPC.noarch 0:0.2020-1.el5.rf set to be updated --> Processing Dependency: perl(Net::Daemon) for package: perl-PlRPC --> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC --> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC ---> Package perl-IO-Compress-Base.noarch 0:2.011-1.el5.rf set to be updated --> Running transaction check ---> Package perl-Net-Daemon.noarch 0:0.43-1.el5.rf set to be updated --> Finished Dependency Resolution ...................
View Replies!
View Related
Yum Etc Vs Manual Compile - Specifically Apache
We run CentOS for our web servers (not providing hosting) and manually compile Apache, PHP etc. What would be the benefits to using Yum rather than compiling the software ourselves? The way I see it, Yum allows Apache etc to automatically update to latest versions and saves time. When compiling myself though, I can specify exactly where to install to and which modules etc to install with the software. Is there any reason we should be using Yum instead?
View Replies!
View Related
Apache Do Not Update
i enable Mbstrings and Soap in easyapache in Cpanel. after 24 hours i restart my server and some things get eror. tmp folder become read only. easy apache give below eror : Code: Died at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 40. and all site have eror for tmp and mysql. i change tmp folder but some eror don't solved. Code: Can't create/write to file '/tmp/#sql_1f42_0.MYI' (Errcode: 30) SQL=SELECT m.*, sum(case when p.published=1 then 1 else 0 end) as cnt FROM jos_menu AS m LEFT JOIN jos_menu AS p ON p.parent = m.id WHERE m.menutype='mainmenu' AND m.published='1' AND m.access <= '0' GROUP BY m.id ORDER BY m.parent, m.ordering Warning: Invalid argument supplied for foreach() in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 127 Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/music/public_html/modules/mod_tpmenu/tpmenu/dropdown/menu.php on line 150 this is mount command : Code: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,usrquota) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0) and this is fstabs : Code: /dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0
View Replies!
View Related
Apache Hogs The System
Getting the following in my log Quote: apache 1994 0.0 0.0 2776 1020 ? S 15:02 0:00 sh -c /usr/bin/identify -format %w###%h###%m###%n###%r###%z "/tmp/php apache 1995 23.3 0.0 0 0 ? D 15:02 1:03 [identify] This is a good case.. normally though it is like this: Quote: apache 2864 0.0 0.0 3064 1020 ? S 15:08 0:00 sh -c /usr/bin/identify -format %w###%h###%m###%n###%r###%z "/tmp/php apache 2865 39.8 0.3 19944 12612 ? D 15:08 0:26 /usr/bin/identify -format %w###%h###%m###%n###%r###%z /tmp/php0SNeMT
View Replies!
View Related
Error When Trying To Run Apache Update (cPanel)
I got a new server online today with a fresh installation of centos and cPanel: WHM 11.15.0 cPanel 11.18.1-R20683 CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0 I have done the initial setup (ip's nameservers etc..) but when I try and run apache update I get the following: Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl: Please check /usr/local/cpanel/logs/error_log for the exact error. I look in the log file but it just repeatse the above error and doesnt supply any additional info.
View Replies!
View Related
POP Server Error After Apache Update
I run a dedicated server with WHM/cPanel (10.8.0). I was recently supposed to update the Apache installation to add a module, but instead of clicking "load previous config" I clicked on "start build" by mistake. This brought the installation back to default. I waited till the build was finished and then added all the modules I could remember having installed earlier. This made Apache not wanting to start. I went back to the default and then recompiled apache over and over again, adding 1 o 2 modules every time. Apache booted up fine, but for some reason my mail is suddenly acting up. I keep getting the following error on one of my domain in my client: Code: Unable to connect to POP server mail.example.com. Error sending password: -ERR Maildir invalid (no 'cur' directory) When I click OK, I get: Code: Unable to connect to POP server mail.example.com. Error sending password: Operation now in progress I have a couple of other accounts in the mail client. None of them are receiving mails, even though I can see that there are new mails present in the mailbox via webmail. My exim is configured to use mbox as far as I know. So I don't understand why I'm getting an invalid maildir message.
View Replies!
View Related
Redundant Apache (failover System)
I currently own several servers: let's say sites on 3 of those servers rely on a website that sits on server 4 If server 4 goes offline, then servers 1 2 and 3 suffer a lack of usability. The website on server 4 is very small and fast, but receives several hundred thousand visits a day I figured it would be a good idea to replicate that website on each of my servers, but I'm unsure about how to set up a good redundancy system.. Using several nameservers doesn't work as expected (visitors are randomly sent to one of the nameservers, in no particular order)
View Replies!
View Related
Used Apache Update/some PHP Scripts No Longer Working
Having some issues here, I used Apache Update to install WHMCS as I didn't have Curl installed. Well had some issues using the username and password as it couldn't connect to the database, my modernbill and phpnuke scripts still work but some other scripts like joomla, some shopping cart software, and other MYSQL scripts are not working. I've run test scripts to see if I can connect to the database, got the following error with the PHP test script Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'data_invoice'@'localhost' (using password: YES) in /home/data/public_html/test2.php on line 4 I cannot connect to the database because:Access denied for user 'data_invoice'@'localhost' (using password: YES) Also attempted it in SSH and getting a similar error that access is denied. Username and password are correct. I believe I upgraded PHP which my guess is what caused this. I've searched the forum for a few solutions and I had the problem in the past which I fixed it, but it's been a while.
View Replies!
View Related
Server Update, Too Many Apache Processes But Low Load
I have 2 almost similar webservers: debian 3.2, P4 3GHZ, 1 Gb ram, kernel 2.6, apache2, php4 Initial apache2.conf: Code: Timeout 4 KeepAlive Off KeepAliveTimeout 2 ServerLimit 1500 <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15 MaxClients 1500 MaxRequestsPerChild 3000 </IfModule> I update the sources.list on server 1 to mirrors of the new debian 4 etc . I run apt-get update and apt-get dist-upgrade . A whole bunch of things get updated (it was long time ago that I did this anyway). After some troubles with /boot/grub/menu.lst the server boots ok, and everything is well. This server used to have loads of 15-25 at peak times, but after the update its running very smooth with loads of 2-3 at the same peak times. I dont know why exactly, as I noticed updates in OS , kernel version (from 2.6.8x to 2.6.18) , apache2 , php (4.4.4-8+etch1) , and I also needed to update eaccelerator from 0.94 to 0.95 . A few days later I update server 2. Everything seems to go the same, although the kernel version stays at 2.6.8-3-686. I dont think kernel version at start was exactly same at server 1. But the new php version is the same as server 1, and everything else looks the same too. But when peak times are coming up, this server starts to have troubles. It is quickly rising to total of 200-300 processes , while server 1 always stays stable at 60-70. Server 2 also reacts slow if I click somewhere on the site. It takes 5-10 seconds to show a new page. However the load stays pretty low at 1-2 . I see no big cpu usage and also no big memory usage. I have the impression that this server 2 is somehow wasting a lot of apache processes and is making things hard for itself without a real reason. When I check the seperate mysql database server, I also notice a lot of processes. Around 200-250 whereas it used to be 40-60. Sometimes this adds up so hard, that all webservers are blocked because mysql has too much processes. When I check the mysql connections, I see a few dozen things like 'unauthen ip:port Connect login' just hanging. All of them have the ip of webserver 2. Those extra apache processes are somehow hanging on to the mysql server without really doing something. I dont know what is happening, but this server is underperforming very badly now. I managed to limit the problem by drastically lowering ServerLimit and MaxClients on webserver 2 , but this is no real solution. The server is still slow, at least now its not bringing down the others. My question : what should I check for now ? I noticed a different structure in the conf files in debian etch, maybe something new has a bad influence on my old conf files? Is there something wrong with the combination of kernel+php version? I have no idea, please point me in the right direction so I can learn from this.
View Replies!
View Related
Apache 2.2 / Php 5 Update: Calling Files Behind Root
With my old Apache 1 and PHP4 I was able to pull files from behind the public_html using a php file without any problems. Is there a reason why this does not work with Apache 2.2 and PHP5? the piece of coding below is what grabs the image. Right now i'm just seeing a red X for each image. PHP Code: if ($private == 1) { header("Content-type: image/jpeg"); $im = imagecreatefromjpeg('/home/site1/private/' . $type . '/' . $mid . '-' . $iid . '.jpg'); imagecolorallocate($im, 255, 255, 255); imagejpeg($im); imagedestroy($im); }
View Replies!
View Related
Mysql Insert/Update Makes Apache Go Crazy
I run a wordpress blog with apache2+mysql5+php5 in a Debian vps with 1024mb ram (plus swap). When you read the website everything works quick and smooth, but when you have to add data to the database (edit posts, write posts, write comments) something weird happens. monitoring the system with the top and I see that, for example, as soon as an article has been posted (already got the "article posted" message in the page) the free ram goes suddenly down (some seconds) from 800mb to 0. Swapping starts and the website stops responding. in the meanwhile cpu "wa" goes high (90%++). Typing ps aux I can see that is not mysql process's fault, actually it seems more that it's apache to cause this ram hogging, in fact an apache restart brings back tons of free ram. this is my current my.cnf: Code: client] port= 3306 socket= /var/run/mysqld/mysqld.sock # Here is entries for some specific programs # The following values assume you have at least 32M ram # This was formally known as [safe_mysqld]. Both versions are currently parsed. [mysqld_safe] socket= /var/run/mysqld/mysqld.sock nice= 0 [mysqld] # # * Basic Settings # user= mysql pid-file= /var/run/mysqld/mysqld.pid socket= /var/run/mysqld/mysqld.sock port= 3306 basedir= /usr datadir= /var/lib/mysql tmpdir= /tmp language= /usr/share/mysql/english skip-external-locking # # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. bind-address= 127.0.0.1 # # * Fine Tuning # myisam_sort_buffer_size=64M max_connect_errors=20 connect_timeout=15 interactive_timeout=100 join_buffer_size=1M sort_buffer_size=1M read_buffer_size=1M bulk_insert_buffer_size=16M key_buffer= 64M max_allowed_packet= 16M thread_stack= 128K thread_cache_size= 8 max_connections = 600 table_cache = 256 #thread_concurrency = 10 # # * Query Cache Configuration # query_cache_limit = 1M query_cache_size = 16M # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. #log= /var/log/mysql/mysql.log # # Error logging goes to syslog. This is a Debian improvement :) # # Here you can see queries with especially long duration #log_slow_queries= /var/log/mysql/mysql-slow.log #long_query_time = 2 #log-queries-not-using-indexes # # The following can be used as easy to replay backup logs or for replication. #server-id= 1 #log_bin= /var/log/mysql/mysql-bin.log # WARNING: Using expire_logs_days without bin_log crashes the server! See README.Debian! #expire_logs_days= 10 #max_binlog_size = 100M #binlog_do_db= include_database_name #binlog_ignore_db= include_database_name # # * BerkeleyDB # # Using BerkeleyDB is now discouraged as its support will cease in 5.1.12. skip-bdb # # * InnoDB # # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! # You might want to disable InnoDB to shrink the mysqld process by circa 100MB. skip-innodb # # * Security Features # # Read the manual, too, if you want chroot! # chroot = /var/lib/mysql/ # # For generating SSL certificates I recommend the OpenSSL GUI "tinyca". # # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem
View Replies!
View Related
|