-
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
Unable to open file: /etc/apache2/conf.d/* #3
Comments
Same issue here running debian: perl apachebuddy.pl Apache Buddy v 0.3######################################################################## Examining your Apache configuration... $ uname -a |
Thats because of lines 84-88 (see below). Removing/commenting them makes apachebuddy.pl work as expected.
|
@fortiko maybe it's worst to add as a small patch like "If ( not debian based ) " into the line 83 and close this in the line 89 |
Thanks @fortiko ! |
I get a similar error on a CentOS machine running cPanel. Had to commented out all of the extra Includes in order for the script to run. |
Debian directory globbing for issue #3
Running apachebuddy.pl on an ubuntu server on rackspace:
$ sudo perl apachebuddy.pl
Apache Buddy v 0.3
Gathering information...
We are checking the service running on port 80
The process listening on port 80 is /usr/sbin/apache2
The process running on port 80 is Apache/2.2.14 (Ubuntu)
Apache has been running 0d 0h 06m 09s
The full path to the Apache config file is: /etc/apache2/apache2.conf
Apache is using prefork model
Examining your Apache configuration...
Uncaught exception from user code:
Unable to open file: /etc/apache2/conf.d/*
at apachebuddy.pl line 91
main::find_included_files('ARRAY(0x284d0c0)', 'ARRAY(0x284bf20)', 0) called at apachebuddy.pl line 65
main::build_config_array('/etc/apache2/apache2.conf', 0) called at apachebuddy.pl line 1001
$ uname -a
Linux myserver 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: