$ sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/
apache2/conf/
Password:
cp: /opt/local/apache2/conf/httpd.conf.sample and /opt/local/apache2/
conf/httpd.conf.sample are identical (not copied).
$
On Dec 16, 2007, at 1:24 PM, Daniel J. Luke wrote:
On Dec 16, 2007, at 11:59 AM, Charlse Darwin wrote:
Here is the situation:
$ sudo apachectl start
dyld: Library not loaded: /usr/local/lib/libexpat.0.1.0.dylib
Referenced from: /usr/sbin/httpd
Reason: image not found
/usr/sbin/apachectl: line 187: 3046 Trace/BPT trap $HTTPD
/usr/sbin/apachectl start: httpd could not be started
$ which apachectl
/usr/sbin/apachectl
This has nothing to do with macports, it's something you have
broken with your system.
#However…
$ sudo /usr/local/apache2/bin/apachectl start
$ sudo /usr/local/apache2/bin/httpd -V
This is also not related to macports.
$ sudo apachectl start
dyld: Library not loaded: /usr/local/lib/libexpat.0.1.0.dylib
Referenced from: /usr/sbin/httpd
Reason: image not found
/usr/sbin/apachectl: line 187: 19610 Trace/BPT trap $HTTPD
/usr/sbin/apachectl start: httpd could not be started
$ which apachectl
/usr/sbin/apachectl
This is the same problem as before (ie. not macports-related).
$ sudo /opt/local/apache2/bin/apachectl start
Password:
httpd: Could not open configuration file /opt/local/apache2/conf/
httpd.conf: No such file or directory
$ less /opt/local/apache2/conf/httpd.conf
/opt/local/apache2/conf/httpd.conf: No such file or directory
Any idea?
Yes, you don't have a conf file for your macports apache. There is
a sample conf file in /opt/local/apache2/conf that you can use as a
base (sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/
apache2/conf/)
--
Daniel J. Luke
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users