---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Running Apache 1.3.4/JServ 1.0b3, all was well and good until I recompiled Apache to support php4, moving up from php3. Initial installation of the new Apache binary shows no problem--Apache comes up and runs, as does JServ. However, about a day after the installation, when Apache is reloaded I'm running into: [19/04/2000 01:29:35:445] (EMERGENCY) Error setting defaults: ApJServDefaultHost name "localhost" can't be resolved I've been able to work around this problem on a few servers by: in httpd.conf: #Include /usr/home/local/src/Apache-JServ-1.0b3/example/jserv.conf <Location /status/jserv> SetHandler jserv-status order deny,allow allow from 127.0.0.1 </Location> 127.0.0.1 was localhost <virtualhost 127.0.0.1> ServerAdmin [EMAIL PROTECTED] ServerName localhost DocumentRoot /WWW/htdocs/imtinc/ ErrorLog logs/_-error-log TransferLog logs/_-access-log </virtualhost> That was the normally commented out localhost virtualhost block. Then in /www/etc/jserv.conf, all I did was: # Default host on which Apache JServ is running # Syntax: ApJServDefaultHost [hostname] # Default: "localhost" #ApJServDefaultHost localhost ApJServDefaultHost 127.0.0.1 I've also tried defining ApJServDefaultHost in jserv.properties, also to no avail on servers which do not respond to treatment. That fix does not work predictably, however--it works on some server; it fails on others. Why, I don't know since all of our servers running the Jserver are configured identically. localhost is defined in /etc/hosts on all servers. Nothing was changed with regard to Apache, other than the php4 upgrade. Does anyone have any ideas for a dependable fix to this problem? Annette -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
