PUBLICWEB 1

Startup Troubleshooting

  • If doesn't boot, try to enter single user mode
    • at the grub boot list, use down key to stop the auto start process
    • press the "a" key to append an argument
    • append "S" for single user mode
  • Make sure iscsi is running. The mounts seem to be attempted before iscsi is fully initiated.
    • /etc/init.d/iscsi and iscsid start if not running
    • Make sure /disks is mounted and the directories are their /disks/users, /disks/vhosts, etc.
  • Make sure Apache is running (it requires the existence of the /disks mount before it can start properly)
  • Make sure winbind is running.
    • wbinfo -u to list of users, if fails may not be joined to domain
    • To join domain: /usr/bin/net rpc join -S cehddc09.coehdserver.tamu.edu -W cehd -U USERNAME
    • start/restart /etc/init.d/winbind after joining domain
  • Java chat server does not auto-start. To manually start execute /etc/init.d/chatserver as root.

Java Chat

  • Volano chat
  • aerospacescholars.tamu.edu has a Java Chat application running under it at http://aerospacescholars.tamu.edu/Chat
  • This Chat server is being used by a education program at NASA's Johnson Space Center.
  • It uses port 8000
  • Start server by cd'ing to /disks/vhosts/scholars/Chat, then /usr/bin/java COM.volano.Main
  • It should startup at boot. (it did not, had to manually start by manually executing /etc/init.d/chatserver as root.)

E-mail

  • PUBLICWEB acts as the primary mail host for linux systems.
  • The MX records for NSBRI hosts and coe.tamu.edu point to publicweb.cehd.tamu.edu
  • To add a new host to be processed by publicweb, add the name to /etc/mail/local-host-names and restart the sendmail processes

Apache

  • Install apache from source using ./configure --prefix=/usr/local/apache2 --enable-so

Mod_perl

  • Install mod_perl module before any other shared module.

php

Php is enabled as a loadable module with Apache. So, when when adding extensions do not need to recompile apache. Simply 1) reconfigure php, 2) make php,

1. Configuration step

From config.status (6/10/2008)

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-pgsql=/usr/local/pgsql/ --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-openssl

Adding zlib support (10/1/2008 - Arlen)

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-pgsql=/usr/local/pgsql/ --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-openssl --with-zlib

2 Compile. make

3. Test compilation. make test

4. Install. make install

procmail

Page describing using procmail for a mail distribution list. http://www.erehwon.org/erehwon/procmailex.html#mllist

Taxonomy: