-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not find Apache process. Exiting..." #17
Comments
I'm running Apache2 behind Varnish, and no luck... Apache Buddy v 0.3 |
Easy fix in my case: perl apachebuddy.pl --port=8080 |
The problem for me is that apahe is running on port 80, not 8080... yet apachebuddy still won't recognize it. |
I'm seeing the same issue as @stephen304. I initially installed via Ubuntu 13.10 but recently upgraded to 14.04 LTS. output:
|
Same output as willtate |
Same output as willtate CAUSE : CAPITAL V unnecessary for the purpose of the function to ID apache. SOLUTION TO JUST THIS STEP - which basically only hides the underlying problem so apachebuddy does recognise it is apache. that got me past that issue - but onwards into other ones..... Ubuntu really changed about a lot of apache structural stuff with 14.04. Paths, splitting up configs etc. mucho broken :/ /usr/sbin/apache2 cant really be invoked in this way. for more info, see the default index.html file on a fresh install of 14.04, it talks a lot about what changed and is unusually informative. |
Rename issue to compatibility with Ubuntu 14.04 LTS apache2 |
Experience same issue on 14.04 LTS. Anyone have a workaround for this yet? ######################################################################## Apache Buddy v 0.3######################################################################## |
Experience same issue on 14.04 LTS w/ Apache 2.4. States constants set by envvars do not exist or the script can't read them when loading /etc/apache2/apache2.conf. AH00526: Syntax error on line 76 of /etc/apache2/apache2.conf: |
#22 addresses the issue. Long story short running |
I've got the same issue on 14.04 (14.04.1 LTS codename trusty) running apache2. I don't really understand how to try the fix above (#22), can anyone explain? root@www:/home/manuel# ./apachebuddy.pl Apache Buddy v 0.3######################################################################## |
You can just yank the code from my fork: |
xn, thanks a lot, didn't realize it was that simple, this is my first use of github. This worked flawlessly for me. |
No worries. Great to hear. Open source for the win! |
I missed something the first time around. I'm still getting this: "Unsuccessful stat on filename containing newline at ./apachebuddy.pl line 125 (#1) Does this matter or something to just ignore? |
I just updated my fork, you can try that. |
Beautiful. Works perfect without any errors now! Thanks so much! |
I have also the problem on 14.04 LTS with a Plesk install (Apache behind Nginx). Also the fork don't work for me.
|
What is the process running under? |
you can run this to see if you get the correct pid: |
if it does, you can edit this line: https://github.com/xn/apachebuddy.pl/blob/master/apachebuddy.pl#L974
|
I am under the impression that Apache 2.4+ doesn't even use the MaxClients directive which has been replaced by MaxRequestWorkers. Presumably there are other changes as well which would require a more thorough examination of this script and it's recommendations. |
This worked for me: |
Hello when do curl -sL apache2buddy.pl | perl I receive curl -sL apache2buddy.pl | perl Please help |
sorry I receive There are multiple PIDs listening on port 80 |
`root@old:~# perl apachebuddy.pl
|
curl -sL apachebuddy.pl | perl######################################################################## Apache Buddy v 0.3######################################################################## |
I have apache2 installed via apt-get on ubuntu 13.10 x64. Here is the output of apachebuddy:
So you can see it finds apache2, but it somehow doesn't think it's apache...
The text was updated successfully, but these errors were encountered: