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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Can Not Compile Htppd Apache Because Of Apache APR
I am trying to install dedicated web server on my Slackware 12.0.0 machine. I am a novice in Linux, but succeeded in MySQL & proFTPd installation. The problem now in httpd compiling. I downloaded the latest Apache 2.2.9, but it needs Apache Portable Runtime 1.3.2 installed. I downloaded 1.3.2 version and run ./configure 1. checking size of size_t... 4 2. checking which format to use for apr_size_t... %u 3. checking size of off_t... 4 4. checking for mmap64... yes 5. checking for sendfile64... yes 6. checking for sendfilev64... no 7. checking for mkstemp64... yes 8. checking for readdir64_r... yes 9. checking which type to use for apr_off_t... off64_t 10. checking whether ino_t and unsigned long are the same... yes 11. configure: using unsigned long for ino_t 12. checking size of pid_t... 4 13. checking whether byte ordering is bigendian... no 14. checking size of struct iovec... 8 15. checking for strnicmp... no 16. checking for strncasecmp... yes 17. checking for stricmp... no 18. checking for strcasecmp... yes 19. checking for strdup... yes 20. checking for strstr... yes 21. checking for memchr... yes 22. checking for strtoll... yes 23. 24. Checking for DSO... 25. checking for dlopen... no 26. checking for dlopen in -ldl... yes 27. adding "-ldl" to LIBS 28. checking for dlsym... yes 29. 30. Checking for Processes... 31. checking for waitpid... yes 32. checking for Variable Length Arrays... yes 33. checking struct rlimit... yes 34. 35. Checking for Locking... 36. checking for semget... yes 37. checking for semctl... yes 38. checking for flock... yes 39. checking for semaphore.h... (cached) yes 40. checking OS.h usability... no 41. checking OS.h presence... no 42. checking for OS.h... no 43. checking for library containing sem_open... none required 44. checking for sem_close... yes 45. checking for sem_unlink... yes 46. checking for sem_post... yes 47. checking for sem_wait... yes 48. checking for create_sem... no 49. checking for working sem_open... yes 50. checking for union semun in sys/sem.h... no 51. checking for LOCK_EX in sys/file.h... yes 52. checking for F_SETLK in fcntl.h... yes 53. checking for SEM_UNDO in sys/sem.h... yes 54. checking for POLLIN in poll.h sys/poll.h... yes 55. checking for PTHREAD_PROCESS_SHARED in pthread.h... yes 56. checking for pthread_mutexattr_setpshared... yes 57. checking for working PROCESS_SHARED locks... yes 58. checking for robust cross-process mutex support... yes 59. decision on apr_lock implementation method... SysV IPC semget() 60. checking if all interprocess locks affect threads... no 61. checking if POSIX sems affect threads in the same process... no 62. checking if SysV sems affect threads in the same process... no 63. checking if fcntl locks affect threads in the same process... no 64. checking if flock locks affect threads in the same process... no 65. checking for entropy source... /dev/urandom 66. 67. Checking for File Info Support... 68. checking for struct stat.st_blocks... yes 69. checking for struct stat.st_atimensec... no 70. checking for struct stat.st_ctimensec... no 71. checking for struct stat.st_mtimensec... no 72. checking for struct stat.st_atim.tv_nsec... yes 73. checking for struct stat.st_ctim.tv_nsec... yes 74. checking for struct stat.st_mtim.tv_nsec... yes 75. checking for struct stat.st_atime_n... no 76. checking for struct stat.st_ctime_n... no 77. checking for struct stat.st_mtime_n... no 78. checking for inode member of struct dirent... d_fileno 79. checking for file type member of struct dirent... d_type 80. 81. Checking for OS UUID Support... 82. checking uuid.h usability... no 83. checking uuid.h presence... no 84. checking for uuid.h... no 85. checking uuid/uuid.h usability... yes 86. checking uuid/uuid.h presence... yes 87. checking for uuid/uuid.h... yes 88. checking for library containing uuid_create... no 89. checking for library containing uuid_generate... -luuid 90. checking for uuid_create... no 91. checking for uuid_generate... yes 92. checking for os uuid usability... yes 93. 94. Checking for Time Support... 95. checking for struct tm.tm_gmtoff... yes 96. checking for struct tm.__tm_gmtoff... no 97. 98. Checking for Networking support... 99. checking for type in_addr... yes 100. checking if fd == socket on this platform... yes 101. checking style of gethostbyname_r routine... glibc2 102. checking 3rd argument to the gethostbyname_r routines... char 103. checking style of getservbyname_r routine... glibc2 104. checking if TCP_NODELAY setting is inherited from listening sockets... yes 105. checking if O_NONBLOCK setting is inherited from listening sockets... no 106. checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes 107. checking for TCP_CORK in netinet/tcp.h... yes 108. checking for TCP_NOPUSH in netinet/tcp.h... no 109. checking for SO_ACCEPTFILTER in sys/socket.h... no 110. checking whether SCTP is supported... no 111. checking for struct ip_mreq... yes 112. checking for set_h_errno... no 113. 114. Checking for IPv6 Networking support... 115. checking for library containing getaddrinfo... none required 116. checking for library containing gai_strerror... none required 117. checking for library containing getnameinfo... none required 118. checking for gai_strerror... yes 119. checking for working getaddrinfo... yes 120. checking for negative error codes for getaddrinfo... yes 121. checking for working getnameinfo... yes 122. checking for sockaddr_in6... yes 123. checking for sockaddr_storage... yes 124. checking for working AI_ADDRCONFIG... yes 125. checking if APR supports IPv6... yes 126. checking langinfo.h usability... yes 127. checking langinfo.h presence... yes 128. checking for langinfo.h... yes 129. checking for nl_langinfo... yes 130. 131. Restore user-defined environment settings... 132. restoring CPPFLAGS to "" 133. setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" 134. restoring CFLAGS to "" 135. setting EXTRA_CFLAGS to "-g -O2 -pthread" 136. restoring LDFLAGS to "" 137. setting EXTRA_LDFLAGS to "" 138. restoring LIBS to "" 139. setting EXTRA_LIBS to "-luuid -lrt -lcrypt -lpthread -ldl" 140. restoring INCLUDES to "" 141. setting EXTRA_INCLUDES to "" 142. configure: creating ./config.status 143. config.status: creating Makefile 144. config.status: creating include/apr.h 145. config.status: creating build/apr_rules.mk 146. config.status: creating build/pkg/pkginfo 147. config.status: creating apr--config 148. config.status: WARNING: 'apr-config.in' seems to ignore the --datarootdir setting 149. config.status: creating apr.pc 150. config.status: creating test/Makefile 151. config.status: creating test/internal/Makefile 152. config.status: creating include/arch/unix/apr_private.h 153. config.status: executing default commands 154. config.status: include/apr.h is unchanged 155. config.status: include/arch/unix/apr_private.h is unchanged After that I am trying make and have error at the end: make[1]: Entering directory `/root/build/apr-1.3.2' /bin/sh /root/build/apr-1.3.2/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -.....
View Replies!
View Related
Unable To Compile Apache Under Ubuntu
A little background on what I'm doing here... I'm setting up a Linux machine specifically for use as a VNC here at work. The IT Manager said he'd used Ubuntu before but left the distro up to me. I set up my test machine with Ubuntu but need to compile Apache for portions of it to work. I've never had any problems building Apache before, but this is what I'm getting here. I have a feeling that, since I've not used Ubuntu before, that I'm just missing a step. I also noticed that the "make" command doesn't work. Does that need to be installed and compiled as well? ========================================= root@vnc01:/etc/httpd-2.2.3# ./configure /usr/local/apache configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /usr/local/apache checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... /usr/local/apache checking host system type... /usr/local/apache checking target system type... /usr/local/apache Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring package in srclib/apr now configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /usr/local/apache checking build system type... /usr/local/apache checking host system type... /usr/local/apache checking target system type... /usr/local/apache Configuring APR library Platform: /usr/local/apache checking for working mkdir -p... yes APR Version: 1.2.7 checking for chosen layout... apr checking for /usr/local/apache-gcc... no checking for gcc... no checking for /usr/local/apache-cc... no checking for cc... no checking for cc... no checking for /usr/local/apache-cl... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. configure failed for srclib/apr root@vnc01:/etc/httpd-2.2.3# The config.log file doesn't honestly show any errors that I can see pertaining to any compile errors.
View Replies!
View Related
What Would Cause Apache To Restart And Not Compile PHP
Today I got the devastating and heart-stopping news that all administraters fear most: "I'm looking at your website, and something's terribly wrong!!!" The person went on to say that each page was just "filled with code ro something." When I finally saw it myself I discovered that my raw PHP pages were being served to the end user with no compilation --all of my top secret code; a real nightmare. I went to look at the error logs and found that for several restarts Apache had not been compiling PHP. It usually looks like this: Quote: [Wed Apr 18 18:35:11 2007] [notice] bandwidth monitoring enabled (mapping file: /etc/virtualhosting/mappings/apache.domainmap) [Wed Apr 18 18:35:11 2007] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_gzip/1.3.19.1a mod_fastcgi/2.2.10 mod_jk/1.2.0 mod_perl/1.24_01 PHP/4.2.2 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b configured -- resuming normal operations [Wed Apr 18 18:35:11 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Apr 18 18:35:11 2007] [notice] Accept mutex: sysvsem (Default: sysvsem) [Wed Apr 18 18:35:11 2007] [notice] FastCGI: process manager initialized (pid 16385) But now it looked like this: Quote: [Sun Apr 22 04:02:18 2007] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_gzip/1.3.19.1a configured -- resuming normal operations [Sun Apr 22 04:02:18 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun Apr 22 04:02:18 2007] [notice] Accept mutex: sysvsem (Default: sysvsem) [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/a1b2c3d4e5f6g7h8i9/nonexistentfile.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/adserver/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpAdsNew/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpadsnew/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpads/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/Ads/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/ads/adxmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlrpc/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blog/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/drupal/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/community/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogs/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogs/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blog/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogtest/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/b2/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/b2evo/xmlsrv/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/wordpress/xmlrpc.php [Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpgroupware/xmlrpc.php [Mon Apr 23 04:02:21 2007] [notice] SIGUSR1 received. Doing graceful restart WTH? I could be WAAAY off base, but my first reaction was that I'd been hacked -- someone had found a way to disable PHP so they could find sensitive information in raw PHP pages. That could be totally wrong. At any rate, even if I never learn why Apache sometimes will compile without PHP (and some other modules) without me telling it to do so, I'd like to be prepared for an embarassment like like this. Is there any way, say, in the .htaccess file (or anywhere, anyway), I can tell Apache not to serve **ANY** pages unless the PHP module is present?
View Replies!
View Related
Bizarre Apache Compile Error
Recently purchased a new dedicated machine from a Savvis wholesaler, with intentions of using it as a backup server, CentOS 5.0 default install with default install of cPanel/WHM (not configured by the DC) -- Went to recompile apache with the appropriate addons and modules and this is why I get, any ideas? Quote: WHM 11.2.0 cPanel 11.11.0-R16948 CENTOS Enterprise 5 i686 - WHM X v3.1.0 Linux local.hostname 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 athlon i386 GNU/Linux Quote: Building Apache Config.....Done Downloading and compiling apache+modules.... Fetching http://layer1.cpanel.net/buildapache.sea (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done Verifying archive integrity... All good. Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... ........................................................................................................................................... Checking Update System........Rpm Sanity Check PASSED! Verifying compiler and libs....Verifying installation....Kernel Headers look good! Using newyum support... Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Nothing to do /scripts/ensurerpm [@buildapache]...(--quiet --safe libxpm4 ImageMagick libxpm4-devel libxpm4-dev ncurses ncurses-devel ncurses-dev libncurses5 libncurses5-devel libncurses5-dev gettext gdbm gdbm-devel libgdbm2-devel libgdbm2-dev db4 db4-devel db4-dev db1 db1-devel db1-dev db1-tools patch kernel-headers linux-headers glibc-kernheaders pam-devel pam-dev krb5-devel krb5-dev openssl openssl-devel ssl-dev libssl-dev openssl-dev libopenssl0 libopenssl0-devel libopenssl0-dev flex lex bison glibc-devel glibc-dev gcc gcc-c++ libgcc cpp libstdc++ libstdc++-devel libstdc++-dev jpeg libjpeg libjpeg-devel libjpeg-dev libjpeg62 libjpeg62-devel libjpeg62-dev png libpng libpng-devel libpng-dev libpng10 libpng10-devel libpng3 libpng3-devel libpng3-dev libtiff libtiff-devel libtiff-dev libtiff3 libtiff3-devel libtiff3-dev XFree86-libs XFree86-devel XFree86-dev libopenssl0.9.7-devel libopenssl0.9.7-static-devel libltdl xorg-x11-devel pspell pspell-devel zlib zlib-devel zlib1-devel libz-devel tdl aspell aspell-devel xorg-x11-devel libc-client-devel libtool automake libungif-devel libtool-libltdl-devel libtool-ltdl-devel libltdl-devel libltdl3-devel).... . . . . . Done Done Done ******************************** This is buildapache version 1.5.402 (for cpanel <= 10.9.3) (ap=1.3.37) ******************************** buildapache configured from Web Host Manager Apache configured from Web Host Manager! Untarring expat...Fetching http://httpupdate.cpanel.net/buildap...-1.95.6.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...4%...5%...7%...8%...9%...11%...12%...14%...15%...16%...18%...19%...21%...22%...23%... 25%...26%...28%...29%...30%...32%...33%...35%...36%...37%...39%...40%...42%...43%...44%...46%...47%...49%...50%...51%...53%...54%...56%...57%...58%... 60%...61%...63%...64%...65%...67%...68%...70%...71%...72%...74%...75%...77%...78%...79%...81%...82%...84%...85%...87%...88%...89%...91%...92%...94%... 95%...96%...98%...99%...100%......Done Done ./configure [@expat-1.95.6]...(--prefix=/usr).... . . . Done make [@expat-1.95.6]...(-j 1).... . . . . . . . . Done make [@expat-1.95.6]...(install).... Done Untarring apache.... Fetching http://httpupdate.cpanel.net/buildap..._1.3.37.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done Suexec w/php Standard Patch patching file configure Hunk #1 succeeded at 416 (offset 1 line). Hunk #3 succeeded at 1317 (offset 1 line). patching file src/main/util_script.c Hunk #1 succeeded at 1170 (offset 1 line). patching file src/modules/standard/mod_cgi.c Hunk #1 succeeded at 37 (offset 1 line). Hunk #3 succeeded at 292 (offset 1 line). Hunk #4 succeeded at 362 with fuzz 2 (offset -7 lines). Hunk #5 succeeded at 427 (offset 1 line). Hunk #6 succeeded at 600 (offset -7 lines). patching file src/support/suexec.c Hunk #1 succeeded at 51 (offset 1 line). Hunk #3 succeeded at 383 (offset 1 line). Hunk #5 succeeded at 662 (offset 1 line). patching file src/support/suexec.h Hunk #1 succeeded at 19 (offset 1 line). Suexec MailMan Patch patching file src/support/suexec.c Hunk #1 succeeded at 478 (offset 43 lines). Fileprotect Suexec+Php Standard Patch patching file src/support/suexec.c Hunk #1 succeeded at 232 (offset -43 lines). Hunk #3 succeeded at 600 (offset -43 lines). HTTPS var Standard Patch patching file src/support/suexec.c Hunk #1 succeeded at 139 (offset -35 lines). ./configure [@apache_1.3.37]...(--enable-shared=max).... . . Done patching file src/include/httpd.h Hunk #1 succeeded at 273 (offset -43 lines). Fetching http://httpupdate.cpanel.net/buildap...-1.3.37.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done Untarring modssl.... patching file pkg.sslmod/libssl.module ./configure [@mod_ssl-2.8.28-1.3.37]...(--with-apache=../apache_1.3.37 --with-ssl=/usr --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-suexecphp --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html).... . . . . . . . . . . Done ./configure [@apache_1.3.37]...(--enable-module=ssl --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-suexecphp --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html).... . . . Done make [@apache_1.3.37]...(-j 1).... . . . . . . . . . . . . Done make [@apache_1.3.37]...(install).... Done make[1]: *** [install-data] Error 127 make: *** [install-all] Error 2 /etc/rc.d/init.d/httpd start: httpd could not be started Setting /home permissions to 0711......Done Setting permissions for........Done This script will install Postgres 7.3.x or later If you have an older version installed you wil need to Dump your databases to a file and then restore them after the install as 7.3.x is not backwards compatible. If you do not have any databases, you can just run: mv /var/lib/pgsql /var/lib/pgsql.old /sbin/service postgresql stop /sbin/service postgresql start to force creating a 7.3.x style setup. Do not do this if you have databases that you wish to keep! Are you sure you wish to proceed? Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Nothing to do Stopping postgresql service: [ OK ] Starting postgresql service: [ OK ] You should now configure postgresql from WHM! You should now configure postgresql from WHM! You should now configure postgresql from WHM! You should now configure postgresql from WHM! Fetching http://httpupdate.cpanel.net/buildap...-2.6.22.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done ./configure [@libxml2-2.6.22]...(--prefix=/usr).... . . . . . . . . . . . . . . . . Done make [@libxml2-2.6.22]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done make [@libxml2-2.6.22]...(install).... . Done Fetching http://httpupdate.cpanel.net/buildap...-7.15.3.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done Untarring curl......Done ./configure [@curl-7.15.3]...(--prefix=/usr).... . . . . . . . . . . . . . . . . . . . . . . . Done make [@curl-7.15.3]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done make [@curl-7.15.3]...(install).... . Done Fetching http://httpupdate.cpanel.net/buildap...p-5.2.4.tar.gz (0)....@75.126.236.226......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18 %...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43 %...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68 %...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93 %...94%...95%...96%...97%...98%...99%...100%......Done Untarring php....Done patching file configure Running configure: LDFLAGS="-L/usr/X11R6/lib64" /home/cpapachebuild/buildapache/callbacklog --prog configure --dir /home/cpapachebuild/buildapache/build-log -- --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-zlib ./configure [@php-5.2.4]...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done make [@php-5.2.4]...(-j 1 clean).... Done make [@php-5.2.4]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done make [@php-5.2.4]...(install).... Done make: *** [install-sapi] Error 1 /etc/rc.d/init.d/httpd start: httpd could not be started ./configure [@php-5.2.4]...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-zlib).... . . . . . . . . . . . . . Done make [@php-5.2.4]...(-j 1 clean).... Done make [@php-5.2.4]...(-j 1).... . . . . . . . . . . Done make [@php-5.2.4]...(install).... . . . . . . . . . Done initfpsuexec: using apache 1.x support PHP version file has been updated to ./build all ./build install initfpsuexec: using apache 1.x support Attempting to restart httpd Waiting for httpd to restart.... etc etc failed.. Furthermore httpd.conf in /usr/local/apache/conf only contains the following; Quote: ErrorDocument 400 /400.shtml ErrorDocument 401 /401.shtml ErrorDocument 403 /403.shtml ErrorDocument 404 /404.shtml ErrorDocument 500 /500.shtml ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/ Alias /bandwidth/ /usr/local/bandmin/htdocs/ Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/ Alias /java-sys/ /usr/local/cpanel/java-sys/ Alias /img-sys/ /usr/local/cpanel/img-sys/ Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/ Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/ ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/ ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/ Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/ Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/ Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/ Even tried removing /usr/local/apache then running easyapache, but no such luck as it replaces the config with the same thing.
View Replies!
View Related
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
Backups Via WHM - Setting The Schedule Specifically
We have backups running via WHM to a FTP server - where I see we can set daily, weekly, monthly - but can we specify what time during the day the backups are being done so it won't interfere with other heavy server load tasks? Looking at the emails I get when the backup is complete, it seems like it's doing it at all sorts of random times. way to change the priority at which the backup is being run?
View Replies!
View Related
Manual Rdns
I was told by the data center NOC that I can manually handle rdns/ptr requests myself, as long I do the below. Set up your name servers to respond to the reverse dns inquiries that we would forward to you. Can anyone shed light on this? What if someone requests rdns on 32 IP's in one shot for example, how would you go about doing this?
View Replies!
View Related
Full Manual Backup
not sure if it's available, but is there anyway we can manually backup mysql db with a single command line? any kind of help would be appreciated... this is a pure mysql server, not with cpanel or directadmin in anyway..
View Replies!
View Related
Manual Backup For Entire Site
am hosting with servage most such hosts dont provide backup for ur files in case ur moving to other host so i was wondering if i can manually through FTP download my enitre directory including all files (html, jpg, PHP SCRIPTS) and manually reupload them onto the other host i will move to soon will that actually work and for MySql databases i have created a PROPER backups via their auto backup system they only lack backup for the files itself only, MySql is fine will restoring the MySql databases but via a different control panel (CPanel) will it possible?
View Replies!
View Related
YUM - Is Yum Disabled By Easyspace
I went with the cheapest VPS, no control panel and installed webmin myself (done - saves a quid a month ) I have now setup the virtual domains for multiple domain hosting, to find whilst migrating a website that the current install of php (5.12ish) has --without-mysql so i got the php install files, went to run ./config to find i'm missing required files (configure: error: Could not find pcre.h in /usr) which in turn required more files the resolution rpms are out of the question too many, I need YUM yet... bash: yum: command not found strange as centos comes with yum i thaught support is busy, thaught i'd try here ------------------------------------------------- Me: Web Designer Only linux experience prior is Yellow Dog Linux No prior experience in VPS VPS: centos 5 minimum spec now with webmin
View Replies!
View Related
Kernel Compile
I copied the default config file and renamed it as .config but I get this: Code: WARNING: No module dm-mem-cache found for kernel 2.6.27.10-grsec, continuing anyway WARNING: No module dm-region_hash found for kernel 2.6.27.10-grsec, continuing anyway WARNING: No module dm-message found for kernel 2.6.27.10-grsec, continuing anyway WARNING: No module dm-raid45 found for kernel 2.6.27.10-grsec, continuing anyway
View Replies!
View Related
2 Kernel Compile
when doing 2.6.26+ or w/e it is, how do you enable conntrack, what options do i need to enable under make menuconfig? net.netfilter.nf_conntrack_acct = 1 net.netfilter.nf_conntrack_generic_timeout = 120 error: "net.netfilter.nf_conntrack_icmp_timeout" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_close" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_time_wait" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_last_ack" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_close_wait" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_fin_wait" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_established" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_syn_recv" is an unknown key error: "net.netfilter.nf_conntrack_tcp_timeout_syn_sent" is an unknown key error: "net.netfilter.nf_conntrack_udp_timeout" is an unknown key error: "net.netfilter.nf_conntrack_udp_timeout_stream" is an unknown key net.netfilter.nf_conntrack_max = 262144 and how do i know which hardware/devices that i can remove?
View Replies!
View Related
MySQL Minimal Compile
I'm running off of a VPS and the default install of MySQL uses a lot of memory. Is there a way to just download the sources and compile a minimal install of just what i need to run say WHMCS/forum?
View Replies!
View Related
DKIM Compile Error
Running a RHEL 4 box with Sendmail 8.13, and Openssl 0.9.8 and trying to install DKIM 2.6.0. When I run 'sh Build' I get the follow errors at the end of the output. What is causing this error? What do I need to do to correct it? cc -O2 -I. -I../libdkim/ -I../../include -D_REENTRANT -DXP_MT -c -o dkim-filter.o dkim-filter.c cc -O2 -I. -I../libdkim/ -I../../include -D_REENTRANT -DXP_MT -c -o stats.o stats.c cc -O2 -I. -I../libdkim/ -I../../include -D_REENTRANT -DXP_MT -c -o test.o test.c cc -O2 -I. -I../libdkim/ -I../../include -D_REENTRANT -DXP_MT -c -o util.o util.c cc -o dkim-filter -lpthread config.o dkim-ar.o dkim-arf.o dkim-db.o dkim-filter.o stats.o test.o util.o -lmilter /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -ldl -lssl -lcrypto /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a(dkim-canon.o)(.text+0x98): In function `dkim_canon_write': : undefined reference to `SHA256_Update' /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a(dkim-canon.o)(.text+0xae8): In function `dkim_canon_init': : undefined reference to `SHA256_Init' /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a(dkim-canon.o)(.text+0x106a): In function `dkim_canon_runheaders': : undefined reference to `SHA256_Final' /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a(dkim-canon.o)(.text+0x155b): In function `dkim_canon_signature': : undefined reference to `SHA256_Final' /usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/libdkim/libdkim.a(dkim-canon.o)(.text+0x1cab): In function `dkim_canon_closebody': : undefined reference to `SHA256_Final' collect2: ld returned 1 exit status make[1]: *** [dkim-filter] Error 1 make[1]: Leaving directory `/usr/local/src/mail/dkim-milter-2.6.0/obj.Linux.2.6.9-67.0.7.ELsmp.i686/dkim-filter' make: *** [all] Error 2
View Replies!
View Related
Cannot Compile PHP5 With CURL
I'm trying to compile PHP with curl enabled but I cannot get it work. Here is the part of config.log .... configure:32740: checking whether to enable calendar conversion support configure:32778: result: no configure:33078: checking whether to enable ctype functions configure:33116: result: yes configure:33416: checking for cURL support configure:33455: result: yes configure:33464: checking if we should use cURL for url streams configure:33482: result: no configure:33492: checking for cURL in default path configure:33497: result: found in /usr configure:33515: checking for cURL 7.10.5 or greater configure:33529: result: libcurl 7.15.5 configure:33538: checking for SSL support in libcurl configure:33542: result: yes configure:33560: checking how to run the C preprocessor configure:33678: result: gcc -E configure:33702: gcc -E conftest.c configure:33708: $? = 0 configure:33740: gcc -E conftest.c conftest.c:201:28: error: ac_nonexistent.h: No such file or directory configure:33746: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" ... As you can see it shows "ac_nonexistent.h: No such file or directory" I installed both gcc and gcc-c++ libraries but it doesn't work. PHP version is 5.2.6 and OS is CentOS 5 64bit
View Replies!
View Related
2.6.22.1 Kernel Compile Errors
I been trying to compile the linux2.6.22.1 with grsecurity test patches. Im running 2.6.21.5-grsecurity currently. And when i try to make bzImage and only the bzimage I get this error Code: /bin/sh: line 1: 14228 File size limit exceeded(core dumped) objcopy -O binary -R .note -R .comment -S vmlinux arch/i386/boot/compressed/vmlinux.bin make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 153 make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2 has an error number first but different ones each time. I tried the compile on gcc 3 and gcc 4 same thing. Other kernels compile fine except this one. I compiled the very same kernel, same config and evrything on a centos5 server and it done fine. never had this problem before and I always have always upgraded with grsecurity testing patches Im running centos 4.5 ulimit shows Code: [/linux]# ulimit -a core file size (blocks, -c) 1000000 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 16317 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 4096 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 14335 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Does the same thing on gcc version 3.4 and 4.1.1
View Replies!
View Related
How To Compile GD Library With TTF For PHP
First of all, here's the info about my server: Linux: CentOS 5.2 PHP: 5.2.6 PHP-GD: php-gd.i386 0:5.2.6-jason.1 Apache: 2.2.8 with mod_proxy (Lighttpd serves in the background)Question: I've built my server with PHP 5.2.6 and Apache and I've also installed php-gd by running 'yum install php-gd', but an application (clip bucket) I'm using requires GD with TTF enabled for the cpatcha image in 'singup'. I've checked my phpinfo [url] but didn't seem to find TTF enabled with my GD, so I wonder how to recompile GD with TTF enabled?
View Replies!
View Related
LiteSpeed PHP Compile Error
I'm running the latest free version of LSWS, standard install. I am having the hardest time getting PHP to build. No matter what I choose, it always gets the same error in the logs. Right now i'm trying to compile PHP 5.2.5 w/ Suhosin/Mail-header patch. About a minute into building it gives this error: /bin/sh /opt/lsws/phpbuild/php-5.2.5/libtool --silent --preserve-dup-deps --mode=compile gcc -Imain/ -I/opt/lsws/phpbuild/php-5.2.5/main/ -DPHP_ATOM_INC -I/opt/lsws/phpbuild/php-5.2.5/include -I/opt/lsws/phpbuild/php-5.2.5/main -I/opt/lsws/phpbuild/php-5.2.5 -I/usr//include/libxml2 -I/opt/lsws/phpbuild/php-5.2.5/ext/date/lib -I/opt/lsws/phpbuild/php-5.2.5/TSRM -I/opt/lsws/phpbuild/php-5.2.5/Zend -I/usr/include -g -O2 -c /opt/lsws/phpbuild/php-5.2.5/main/reentrancy.c -o main/reentrancy.lo /opt/lsws/phpbuild/php-5.2.5/main/reentrancy.c: In function 'php_readdir_r': /opt/lsws/phpbuild/php-5.2.5/main/reentrancy.c:139: error: too few arguments to function 'readdir_r' make: *** [main/reentrancy.lo] Error 1
View Replies!
View Related
Clamav Compile Problem On Centos 4.3 64bit
I'm trying to install Clamav on my Centos box (64bit version) but on the Make command I get the following error: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libclamav.la] Error 1 make[2]: Leaving directory `/root/clamav-0.88/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/clamav-0.88' make: *** [all] Error 2 I'm guessing is something to do with X86_64 but I still can't find a solution to this.
View Replies!
View Related
How To Compile Php-cgi For Max Security On Dreamhost
I want to compile a php-cgi on dreamhost with maximum security in particular ensuring that all temporary files are stored in my own directories, what are the settings to configure for that? What .htaccess settings do I need to help with that? I realized that some of the temp gzip files where going into the servers main temp folders.
View Replies!
View Related
Yum
just having a bit of a play around with virtuozzo here but cant seem to figure out how to get yum within a template so it installs with the initial install
View Replies!
View Related
Yum
I was trying to install Hypervm on one of our nodes, however when running yum commands like yum update I get the following error: error: cannot open Packages index using db3 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm Also when running the command to install hypervm Repository extras is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments No Match for argument: php Nothing to do installing php failed. Please fix yum/up2date. However when installing php it fails and returns the error above. If someone can help that would be great.
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
Yum Install
I've tried to work with yum. but if I "yum install .." enter, then i get this error : PHP Code: error: no dbpath has been set error: cannot open Packages database in /%{_dbpath} Traceback (most recent call last): File "/usr/bin/yum", line 30, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum/yummain.py", line 163, in main (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args) File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs conf=yumconf(configfile=yumconffile) File "/usr/share/yum/config.py", line 155, in __init__ self.yumvar['releasever'] = self._getsysver() File "/usr/share/yum/config.py", line 285, in _getsysver idx = ts.dbMatch('provides', self.distroverpkg) TypeError: rpmdb open failed
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 RHEL5
What should I put to yum.conf to get this working? YUM is installed, but I can't get yum.conf setup correctly. [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 But what should I put to [base] and [updates].
View Replies!
View Related
Yum Repository
I want to install packages through yum in Fedora 7 just like (clamav , assp) but i m not able to install , how can i create .repo file and which path i have to select because i want to install package from the net .
View Replies!
View Related
Yum [centos 4.5]
I've just leased my first dedicated server from managemybox, which has come loaded with centos 4.5. I need to install all the ffmpeg/transcoding junk - something I've done before... ...but now, I'm having huge issues. Yum and up2date don't seem to have *any* idea of where anything, from ffmpeg to flvtool2 is. I'm crap at quite a bit (read most) of the command line stuff. Whadddoo I need to do? Why is yum telling me there are no matches for the damn stuff? How can I get from A to B properly without the hassle? I did have a VPS before, with memset.com - and all this stuff installed fine on Fedora 4 (it was a VMWare based VPS so everything worked, unlike the Xen based ones I've experienced).
View Replies!
View Related
Yum Is Failing
Is there a reason why yum is failing for me? Its a brand new server! Quote: [root@194 yum.repos.d]# yum update Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository addons is listed more than once in the configuration Setting up Update Process Setting up repositories not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update
View Replies!
View Related
Yum Error
I got this error when I try to use yum in a new server with CentOS 5: Loading "installonlyn" plugin Setting up Install Process Setting up repositories Could not retrieve mirrorlist [url] error was [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')> Error: Cannot find a valid baseurl for repo: base
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
Too Many Connection From Yum
Today i get alert from server provider saying my server is under attack, i check netstat and found too many connections. Quote: This ticket was automatically generated by the Softlayer Network Protection System. Due to the large amount of traffic targeted to your IP address 74.86.157.184, SoftLayer has automatically injected the IP address into our Cisco Guard Protection system. This system diverts traffic destined to the IP address 74.86.157.184 through hardware devices that will try to identify and block the specific packets and flows responsible for the attack while allowing legitimate transactions to pass. The injection of 74.86.157.184 will remain in place until this attack subsides and then be automatically removed once traffic levels reach a normal level. Details of the event follow: Exceeded Bits In: 782.7 M (Threshold: 500 M) [url] The connections are from my server to port 80 of "140.211.166.134". lsof -i :port gives PHP Code: # lsof -i :47837 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME crond 16004 root 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) udevd 31116 root 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) yum-updat 31347 root 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) auditd 31683 root 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) python 31685 root 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) ntpd 31715 ntp 269u IPv4 48880489 TCP server20.hosthat.com:47837->ftp-osl.osuosl.org:http (CLOSE_WAIT) # I have rebooted the server and now server is normal. I disabled yum on the server. Some days back, i have same problem with another server, server have too many connection to one of the yum respositry IP. The OS is CentOS 5.1
View Replies!
View Related
Yum Broken
I have waisted all not trying to get subversion working for apache 2.2.6 and in the process i have broken yum now to. I did yum erase subversion, and now with every yum command i get: Code: (process:27490): GLib-CRITICAL **: file gtimer.c: line 106 (g_timer_stop): assertion `timer != NULL' failed (process:27490): GLib-CRITICAL **: file gtimer.c: line 88 (g_timer_destroy): assertion `timer != NULL' failed 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 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 512, in doCommands ypl = self.returnPkgLists() File "/usr/share/yum-cli/cli.py", line 1176, in returnPkgLists ypl = self.doPackageLists(pkgnarrow=pkgnarrow) File "__init__.py", line 885, in doPackageLists File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "__init__.py", line 260, in doSackSetup File "repos.py", line 277, in populateSack File "/usr/lib/python2.3/site-packages/sqlitecachec.py", line 40, in getPrimary self.repoid)) TypeError: Can not create index on requires table: near "NOT": syntax error I saw this too: Code: /sbin/ldconfig: /usr/lib/mysql/libmysqlclient.so.15 is not a symbolic link I tried uninstalling and reinstall yum but that did not work.
View Replies!
View Related
|