Record of some of the computer tech I deal with so that it's documented at least somewhere.

Friday, 14 September 2007

httpd on the cpu server

After battling getting the mounted stuff working on a terminal I thought all was well once I moved it on to a cpu server, but nope. I got it running without complaint but it says /usr/web is missing when I get any pages. (see /n/sources/contrib/maht/httpd for that logging improvement :)

snacktime brb

yum, beans on toast

on the cpu server it's bootes that kills the processes so I'm glad I'm not across the sea

yay I got it worked out eventually


/cfg/$sysname/cpurc :

srv storm

/cfg/$sysname/cpustart :

. /cfg/$sysname/namespace
@{
rfork
bind /n/storm/httpd/httpd.rewrite /sys/lib/httpd.rewrite
ip/httpd/httpd -w /n/storm/httpd/web -n /cfg/$sysname/namespace.httpd
}

/cfg/$sysname/namespace :

mount /srv/storm /n/storm_root
bind /n/storm_root/home/plan9 /n/storm
bind -a /n/storm/bin /bin

/cfg/$sysname/namespace.httpd :

bind /n/storm/httpd/bin /bin/ip/httpd


that is finally it :)


We really need better http logging if we want to do proper analysis.
I need to investigate the best stats package and then output something that conforms to that.
Or, better still, have it output troff somewhere and issue pdfs as stat reports

No comments: