HARD_SERVER_LIMIT (Recompile Apache)
Does anyone know that on Linux Fedora (apache 1.1.39) after increasing HARD_SERVER_LIMIT, how can we recompile apache?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
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
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
Recompile Php
I want to add a new feature to my existing php, so, recompile php is expecting. I don't know how to recompile it. What I did was 1) ./configure 2) make 3) make install but everything keeps same as before, nothing changed. I googled something about ./build clean, and ./build php, but it seems I don't have any command about ./build I don't have control panel on my server, just php.
View Replies!
View Related
Recompile PHP
I am pretty much being forced to recompile PHP as I want to include OCI Oracle Extensions to read from our business database hosted in Oracle 10g. I installed a binary version of PHP to begin with and Don't have much experience compiling anything from source, although I am somewhat familiar with the concept. I know that sometimes installing extensions can be as easy as using apt-get or yum but I haven't found any information telling me I can do this for the OCI extensions I need to install. My question is, When installing from source, what do I have to do within apache to update and work with the newly installed PHP. When installing and running ./configure -OPTIONS GO HERE, what options other than the ones to tell it to use the libraries for Oracle, do I need to use? I know this is a pretty vague question, but any help is truly appreciated. I'm using Apache 2 and PHP 5 on an ubuntu 6.10 server install.
View Replies!
View Related
Kernel Recompile
I need to recompile my kernel to change the USER_HZ to 1000. However, I am not really sure how to do this and I really need help. I've found a lot of guides and they're really for the advanced linux user, im not really that advanced, I only know a little bit. A messenger like MSN or google talk would be a great way to communicate doing this, since ill have a load of questions.
View Replies!
View Related
How To Recompile PDO For PHP
I visited the PHP installation manual site and tried running the configure file. But inside ssh its saying not found. here is my configure file from phpinfo on the server. ./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
View Replies!
View Related
CPU Upgrade, Need To Recompile The Kernel
I'm going to add a second AMD opteron 270 dual core processor + 2 GB DDR ram to my server this week, but do i have to recompile the kernel after i've installed the second processor? Or change something in grub? setup: 1 X AMD dual core opteron 270 ( + 1 X AMD dual core opteron 270 ) 2 X 1 GB DDR ECC registered ( + 1 X 2 GB DDR ECC registered) Tyan thunder 8kse motherboard # uname -a Linux srv01.xx*********** 2.6.16.17 #1 SMP Mon May 22 04:13:34 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
View Replies!
View Related
Apache Procs Constantly Rise, Until Apache Is Restarted
I've had this problem a long time now with my hosting network and decided to ask here hoping I get some good solutions, or if someone is willing to looking at this (I'll pay if they want). Here's what I mean: [url] Problem is as you can see apache processes constantly rise infinitely, at least until I restart apache (/etc/init.d/httpd restart). The point of restart is shown in red lines. And after restart, it goes down again for X amount of hours then eventually rises again infinitely until it's restarted again. But the fact that after restart it remains down, it means it had the potential to be down all along. So my question is: what could be causing this and does anyone have solution to keep them low at all times (as per graphs)?
View Replies!
View Related
Installed Apache And PHP Only Seeing Default Apache Page
I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.
View Replies!
View Related
Increasing The Apache ServerLimit In Apache 2.2.8 Version.
The Linux Server got down when the MaxClients 256 is reached. Error Log: "server reached MaxClients setting, consider raising the MaxClients setting" So that I have tried to increased the MaxClients Value to 500, after changed the value in httpd.conf and restart I get following error message. " [notice] SIGHUP received. Attempting to restart WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive." So that I tried changed the Server limit in /usr/local/apache/include/httpd.h header file. but it seems like there is no entry. Apache Version : 2.2.8 So I have added the ServerLimit 500 entry in httpd.conf file and restart the httpd service. But still shows the same warning mesg. Please help me regarding this. We have the Dedicated server for Flash Game Server with following configuration. RHEL4 OS 2GB RAM Intel(R) Xeon(R) X3210 @ 2.13GHz Cpanel Installed. Apache 2.2.8 PHP 5.2.4 MySQL 4.1.2 (MySQL Server is working in differend server)
View Replies!
View Related
.htaccess Issue With Apache 1.3, But Works On Apache 2.2
I have the following Apache redirect code in .htaccess: RewriteRule ^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$ /domain.com/app/modules/content/latestNews.php?id=$1 [L] This redirect works fine on Apache 2.2.8, but doesn't work on Apache 1.3.41 The following is the entry from error_log: RewriteRule: cannot compile regular expression '^sap-latest-news/([0-9]*)/([A-Za-z0-9_-.]*).htm$' A simple Rewrite is working fine in Apache 1.3, but the above regualar expression doesn't seem to be working on Apache 1.3. Does anyone know whether Apache 1.3 doesn't support it?
View Replies!
View Related
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
Apache Down In The Middle Of Recompiling Apache (via Whm)
In the middle of recompiling apache (via whm) after upgrading postgresql to 8.3, apache went down and remains down even after restart. Recompile is still in progress (about 15 minutes in) tail -f /usr/local/apache/logs/error_log [Wed Nov 12 15:24:44 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status [Wed Nov 12 15:24:44 2008] [notice] ModSecurity for Apache/2.5.7 (http://www.modsecurity.org/) configured. [Wed Nov 12 15:24:46 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status [Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive [Wed Nov 12 15:24:46 2008] [notice] Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 PHP/5.2.6 configured -- resuming normal operations [Wed Nov 12 15:24:46 2008] [alert] Child 22588 returned a Fatal error... Apache is exiting! httpd configtest Syntax OK ps -ef | grep ^httpd (no result) Cpanel/Centos
View Replies!
View Related
Apache 1 Or Apache 2 , All Else Being Equal
if you were to be presented with a choice to run Apache 1 or Apache 2 given you'd have more or less the same support requests etc, and the same underlying user requirements to implement either one or the other, which one would you choose and why? I noticed that Hsphere Parallels control panel 3.2 release as may well other control panels, offers such possibility. Personally I've been educated from senior members of previous organizations to appreciate Apache 1 as the defacto version of the web hosting industry (choice here being apache 1 and 2, not IIS or any other web servers) Could you kindly simply attempt to enlighten me given, indeed support for both will/might remain the same in the future?
View Replies!
View Related
Apache On Just One IP
I currently have a dedicated server running centOS5 and webmin. With help of folks here I was able to bind additional IP numbers using webmin. I have a small problem now. The idea of binding the IPs was so that I could create "true port 80" shoutcast connections on the new IP numbers. However, when I try this I am taken to the control panel home page (home page to that server). The config on the shoutcast server is set properly (using proper IP #) as I have been able to listen to a stream using the new ip number's (higher ports), but not the main IP number. My questions, I hope, are simple. 1. Am I able to use these additional IP numbers for Shoutcast Port 80 (true port 80 - only one per IP #)? 2. If yes, do I have to make Apache use ONLY my main IP number, thereby releasing the others for Port 80 use? If so, how do I do this.
View Replies!
View Related
Apache 2.2.14 Vs 1.3.41
I am trying to decide on upgrading our Apache version from 1.3.41 to 2.2.14. From what I can tell 2.2 is MUCH faster, but I have seen many reports of 2.* version crashing more frequently than 1.3. Does anyone have some solid information on the reliability of 1.3.41 vs 2.2.14? Also, any other items I may love/miss from upgrading? We are running php4 (default) + 5.
View Replies!
View Related
Apache 1.3.xx Or 2.xx
configuring servers but have a very big website I want to put a new box I'm building, but am not sure if I should install Apache 1.3.xx or 2.xx. I see a TON of web hosts still use Apache 1.3.xx, but it seems that most books now a days say to install Apache 2.xx.
View Replies!
View Related
Apache 1.x Vs Apache 2.x Vs Apache 2.2.x
what is the best, most secure, and fastest Apache version right now? I have Apache 1.x installed on my server. I don't know why. I like to always use the newest and most up to date version for my site. I know the 1.x series is still being updated, but what's the difference between 1.x and 2.x and 2.2.x? I think I may want to use 2.2.x but don't want to use compatibility etc. My sites only use 301 redirects, modrewrite, and http hosts [url]to [url]- if I upgrade to 2.2.x, will my sites break?
View Replies!
View Related
Apache/2.0.63 Or 2.2.10?
Just took control of a fresh server which has been setup with Apache/2.0.63 with red hat and cpanel. Is there any reason not to use apache 2.2.10? I have a feeling when i question the version they will say its the most stable version they are happy with. What would be the benefits/negatives for the current version?
View Replies!
View Related
What Is Apache Doing
Is it possible to see what apache's doing in more details than using: apachtop mpstat sar ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10 Everynow and then I'm seeing one of it's processes climb to 100% CPU and I'd like to know what's behind it?
View Replies!
View Related
Apache Keeps Going Down
my apache keeps going down every 10 or 15 minutes it's bothering me too much what i can say is the site like site.com stop running but if i opened the site.com/cpanel its working and also whm is working and when i make restart to the apache through the whm everything back to normal my sys info apache 2.2.10 CENTOS Enterprise 5.2 Processor Information Processor #1 Vendor: GenuineIntel Processor #1 Name: Intel(R) Celeron(R) CPU E1200 @ 1.60GHz Processor #1 speed: 1596.108 MHz Processor #1 cache size: 512 KB Processor #2 Vendor: GenuineIntel Processor #2 Name: Intel(R) Celeron(R) CPU E1200 @ 1.60GHz Processor #2 speed: 1596.108 MHz Processor #2 cache size: 512 KB Memory Information Memory for crash kernel (0x0 to 0x0) notwithin permissible range Memory: 1023556k/1038848k available (2096k kernel code, 14580k reserved, 877k data, 228k init, 121344k highmem)
View Replies!
View Related
Apache
I have apache 2x installed with Cent Os 4.4 It i'll try to start apache it says it started but just shutsdown instantly.. In the error log it says Invalid Variable "BytesLog" on line 25 of httpd.conf but no line exists with that variable
View Replies!
View Related
Apache
in my linux box i install Change Apache Version Header script by wget web url >>> people.apache.org/~pquerna/dev/httpd-2.2.0/httpd-2.2.0.tar.gz and tar -zxvf httpd-2.2.0.tar.gz cd httpd-2.2.0 and modify include/ap_release.h before compiling nano include/ap_release.h Find #define AP_SERVER_BASEPRODUCT "Apache" and replace it with #define AP_SERVER_BASEPRODUCT "xxx" and compile and install apache ./configure --prefix=/usr/local/apache/ make make install and after that edit my httpd.conf file ServerSig off Then add this below ServerTokens Prod after restart my apachi i got this error httpd: Syntax error on line 225 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: undefined symbol: ap_user_id
View Replies!
View Related
Apache
To make a long story short I transferred to a new sever Old new was RHEL 4 with apache 1.36 PHP .4.4.1 Mysql 4.1 The new lineup is WHM 11.2.0 cPanel 11.11.0-S16999 "Stable Branch" REDHAT Enterprise 5 i686 - WHM X v3.1.0 Apache 1.3.9 PHP 5.2.4 Mysql 5.X Apf ,bdf ,mod_securty & Mod_envise it had mod_gzip etc. The issue I have tried two download scripts and I get either a blank page or this see attached pic. I think it has to be some “mime type issue” in apache but after trying a ton of tricks I can't get it fixed. has any one run into this issue before and can you help please? The folders are 755 files are tested both chmod 644 and 755 zip and tar.gz same issue it prints the binary to the browser body. I do have a “deny all” htaccess but it work on other box. I have rebuild apache and tried application/* all types in the files it not scripts it have to httpd.conf issue.
View Replies!
View Related
Apache
why is the most popular httpd daemon also the worse when it comes to resources, speed, memory usage, etc. Was there no alternatives back when apache first came out? They should hire the developers of lighttpd, litespeed.
View Replies!
View Related
Apache
today after i finish apache compile(apache update in WHM), all php pages on my server can not be loaded.When access php pages, dowload window pop up and ask to download the file?
View Replies!
View Related
Apache Not Starting
I was adding another apache node to the cluster. All the nodes have RHEL5 installed on it. I downloaded the source httpd-2.2.10 and compile it using commands: ./configure --prefix=/usr/local/apache --enable-module=so --enable-rewrite=shared --enable-cgi=shared --enable-unique_id=shared --enable-ssl=shared --enable-include=shared make make install After it is compiled without any errors, when i am trying to start it it's giving me error. # /usr/local/apache/bin/apachectl start httpd: Could not open configuration file /usr/local/apache/conf/httpd.conf: Invalid argument File exists at the said location. There is no permission issue also. # ll /usr/local/apache/conf/httpd.conf -rw-r--r-- 1 root root 13482 Dec 2 12:32 /usr/local/apache/conf/httpd.conf Kindly help in resolving the issue.
View Replies!
View Related
Restarting Apache
Im having trouble restarting apache. I have a program which executes command lines and it runs as a system service (on windows). when i tell it to restart it loads apache up (i see another httpd.exe appear in task manager) but it doesnt restart it. the command line i used is "httpd.exe -k restart" i have added an environment variable but i have also tried the full path to the exe and still no luck. If i run the exact same line from a batch file as local admin then it works fine. I also tried getting my program to run that batch file but again it didnt work. Is there a reason why this would happen? Can only Admin restart it and not SYSTEM? Is there another command i should be using?
View Replies!
View Related
Restart Apache
I have 8 apache servers that is sharing one httpd.conf file... When changes made in the httpd.conf, you have you restart httpd... How can I restart all 8 servers at the same time instead of logging into each server and do it manually?
View Replies!
View Related
Apache And Mod_rewrite
So I've setup a server heres the spec provided by Webmin Operating systemUbuntu Linux 8.10 Webmin version1.470 Time on systemSun Mar 29 18:56:12 2009 Kernel and CPULinux 2.6.27-11-server on i686 System uptime5 days, 19 hours, 42 minutes I'm struggling with mod_rewrite their seems to be no such thing... Its not mentioned in the apache2.conf or httpd.conf, httpd.conf was blank previously but I added in certain things to get php working but I cannot get mod_rewrite working, which brings the question forward what else am i missing? I started out with the aim of blocking the ability of viewing directories. Quote: Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_setenvif mod_status mod_vhost_alias So how can I go about getting mod_rewrite setup and/or what ever else I'm missing that I might find essential later on once I have everything setup?
View Replies!
View Related
LiteSpeed Vs Apache
Anyone happen to know the difference between the two and whether or not I'll notice the difference between them? For example, many, many, many, many moons ago, in a far away land, there used to be a difference between Windows and Linux for perl scripts. In fact, if you couldn't re-write half the script, some of them just didn't work right on a windows host. Are there any differences like that between lightspeed and apache, or is it all pretty much the same and doesn't really matter?
View Replies!
View Related
Apache Logrotate
This is our logrotate definition for Apache's logs folder: Code: /var/log/httpd/*log { rotate 5 missingok notifempty size=100M sharedscripts postrotate /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript } Yet, while it does truncate logs in five, we seem to have fairly different sizes: 182M, 168M, 968M (!)... It seems to be ignoring "size=100M",
View Replies!
View Related
Apache Authentication
I have a machine at home running the UniformServer wamp package on Win2K3 Standard server and I'm hosting a simple family picture gallery using Gallery 2.3. I put the gallery in a subdirectory of root so I could have a public homepage and a gallery that is password protected. I did this using .htaccess and .htpasswd. My issue is when I browse to mydomain.com and click the link to the gallery [url], the password box pops up, and when I enter the appropriate credentials, the domain name reverts to the IP and another password box pops up. If I log in a second time, I'm fine. If I cancel that second login, it still lets me in, but prompts me to login that second time for every click going forward until I authenticate.
View Replies!
View Related
Apache Optimization ...
I am facing problem regarding my site. I have dedicated server with WHM/cPanel, i have integrated tomcat with apache , the apache processes are too high aroung 1200-1400, So please guide me howto optimize my apache for better performance. root@trick [/]# ps aux | grep -c httpd 1403 root@trick [/]# ps aux | grep -c mysql 3 root@trick [/l]# free -m total used free shared buffers cached Mem: 4053 3408 645 0 220 1890 -/+ buffers/cache: 1297 2756 Swap: 4094 0 4094 --------------------------------------------- KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 20 ServerLimit 1000 MaxClients 600 MaxRequestsPerChild 0 </IfModule>
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
|