Problems with newsyslog
I have just acquired a new virtual server and have set up newsyslog.conf to mirror that on my old virtual server. On my old server the logs are rotated and compressed without any problems. The old server runs FreeBSD 4.9. The new server runs FreeBSD 4.10, and I'm getting the following errors reported by Cron --- newsyslog: can't notify daemon, pid 84000: Operation not permitted newsyslog: log /var/log/maillog.0 not compressed because daemon(s) not notified newsyslog: can't notify daemon, pid 43506: Operation not permitted newsyslog: log /var/log/ssl_engine_log.0 not compressed because daemon(s) not notified ... -- pid 84000 refers to /usr/sbin/syslogd -s pid 43506 refers to /usr/local/sbin/httpd -DSSL I cannot see any difference in way I have setup newsyslog and am at a loss to know how to proceed. Any help would be greatly appreciated. TIA Graeme ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP not interpreted.
Bill Moran wrote: redmyrlin wrote: I originally had Apache 1.3.27 running OK with mod_php4. I decided to add SSL capability so uninstalled apache using "pkg_delete -f ". I then used "make install" in the ports tree to install apache+mod_ssl-1.3.27+2.8.14. Everything seemed to go OK and my plain html files display correctly, both on "http" and "https". However when I point my browser at a .php page I get a text listing of the code and not the interpreted html page. I'm sure I've broken or misconfigured something and just need someone to point out my stupidity. Please, what have I done wrong and how can I correct it? The apache config file (in /usr/local/etc/apache/httpd.conf) no longer has the config information for php. I prefer to hack the Makefile in the ports to refer to apache+modssl instead of just apache, and then install php from ports (which modifies the conf file for you), but you can also manually add the required configuration information. See the php docs if you want to do it that way. Thanks for the advice of where to look. I thought I'd manually added the php info into httpd.conf, but on re-inspection I had left out : AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps All's working right now! Thanks again ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP not interpreted.
I originally had Apache 1.3.27 running OK with mod_php4. I decided to add SSL capability so uninstalled apache using "pkg_delete -f ". I then used "make install" in the ports tree to install apache+mod_ssl-1.3.27+2.8.14. Everything seemed to go OK and my plain html files display correctly, both on "http" and "https". However when I point my browser at a .php page I get a text listing of the code and not the interpreted html page. I'm sure I've broken or misconfigured something and just need someone to point out my stupidity. Please, what have I done wrong and how can I correct it? TIA Graeme ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"