I have my own dedicated server, and I'm currently doing everything below as root.
When I try to start apache via
apachectl start, I get a message back saying that it couldn't be started:
Quote:
/usr/sbin/apachectl restart: httpd could not be started
|
If I view
/var/log/apache/error.log, I see the following:
Quote:
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/gd.so' - /usr/lib/php4/20020429/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Jan 18 20:58:57 2005] [alert] mod_unique_id: unable to gethostbyname("vds.cparker15.com")
|
I've set the hostname of my machine to "vds.cparker15.com" via the
hostname command, and I only have the IP address of the machine defined in
/etc/apache/httpd.conf.
Here are the relevant directives that may affect the system:
Code:
### Section 1
ServerName localhost
Listen 1.2.3.4:80
BindAddress *
### Section 2
Port 80
User www-data
Group www-data
ServerName 1.2.3.4
DocumentRoot /var/www
Of course, I have my actual address in there, and not
1.2.3.4.
Any ideas how to fix this problem? I'm assuming the gd.so PHP Warning is what's preventing apache from running properly.
In case you couldn't tell by the User and Group, I'm running on a freshly set up Debian machine.
TIA!