From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5536f97075f32148 X-Google-Attributes: gidfee84,public From: hx_101@hotmail.com (4x4) Subject: Re: HELP! Update Problem! Date: 1999/10/11 Message-ID: <3802e364.379672@news.accesscable.net>#1/1 X-Deja-AN: 535367281 Content-Transfer-Encoding: 7bit References: <3800eb8e.232267@news.accesscable.net> <380626e5.15426036@news.accesscable.net> Content-Type: text/plain; charset=us-ascii X-Trace: nnrp1.uunet.ca 939647608 24.138.15.62 (Mon, 11 Oct 1999 09:13:28 EDT) Organization: UUNET Canada News Reader Service MIME-Version: 1.0 Reply-To: hx_101@hotmail.com NNTP-Posting-Date: Mon, 11 Oct 1999 09:13:28 EDT Newsgroups: comp.unix.osf.osf1 This is the error message in the mailq.... AA01123 57 Mon Oct 11 00:15 root (Operating system error) richard@pop mike@pop AA01623 71 Mon Oct 11 00:20 root (Operating system error) richard@pop mike@pop AA05135 68 Mon Oct 11 02:21 root (Operating system error) richard@pop mike@pop AA06476 54 Mon Oct 11 02:31 root (Operating system error) richard@pop mike@pop AA26682 (no control file) Thanks On Sun, 10 Oct 1999 23:53:15 GMT, hx_101@hotmail.com (4x4) wrote: >getting the following error: >Error connecting to mail server: Can't connect to xxx.xxx.xx,25: >Connectio > >Is this a port problem??? > > >On Sun, 10 Oct 1999 19:46:16 GMT, hx_101@hotmail.com (4x4) wrote: > >>Hi everyone, I just did an upgrade from DU 4.0 - 4.0d.... The only >>problem is that my mail is not working at all. I get the message >>unable to start mail service........ >> >>The script in /sbin/rc2.d/K30sendmail will not start sendmail....... >> >>The script************* >> >>#!/sbin/sh >> >># >># >># OSF/1 Release 1.0 >> >>PATH=/sbin:/usr/sbin:/usr/bin >>export PATH >> >>ARGS=`rcmgr get SENDMAIL_ARGS` >>ARGS=${ARGS:-"-om"} # D'flt: send to sender too >> >>MQUEUE=/var/spool/mqueue >> >># >># Number of days before pruning out dead files. >># >># TIMEOUT_QUEUERUN should be set to the number of days before a mail >># message is rejected, with RFC 1123 recommending a minimum of 4-5 >>days. >># This value should correspond (or be greater than) the value in the >># sendmail.cf file. By default, sendmail V8 uses 5 (O >>Timeout.queuerun=5d), >># while other sendmail pkgs typically used 3 (OT3d). >># CLEAN_MISC is used to clean out other queuefile cruft, while >># CLEAN_DEAD is used to clean out dead letters and core files. >># >># Note: find actually adds a day to these numbers, so if you specify >># 5, it will clean out files >= 6 days old. >># >>TIMEOUT_QUEUERUN=5 >>CLEAN_MISC=2 >>CLEAN_DEAD=7 >> >>cleanqueue() { >> # Cleans out any old files from the Queue directory. >> # >> # If you wish to save any file, rename it or put it in a >>subdirectory, >> # e.g. $MQUEUE/save.d/core >> >> # Find all the old files >> find $MQUEUE \( \( -name '[xtlnQT]f*' -mtime +$CLEAN_MISC \) -o \ >> \( \( -name core -o -name dead.letter \) -mtime +$CLEAN_DEAD \) -o >>\ >> \( -name '[dq]f*' -mtime +$TIMEOUT_QUEUERUN \) \) -print | >> while read name; do >> # Remove *only* the files directly in $MQUEUE >> if [ `dirname $name` = $MQUEUE ]; then >> rm -f $name >> fi >> done >>} >> >> >>case "$1" in >>'start') >> set `who -r` >> if [ "$9" = "S" ]; then >> if [ -f /usr/sbin/sendmail ]; then >> # cleanqueue >> # Frozen configs not supported >> # /usr/sbin/sendmail -bz >> /usr/sbin/sendmail -bi >> >> # Use rcmgr to modify the command line args; >> # if multiple "-q" args are given, the last >>one wins >> /usr/sbin/sendmail -bd -q15m ${ARGS} & >> >> echo "SMTP Mail Service started" >> else >> echo "Unable to start SMTP Mail Service, No >>/usr/sbin/sendmail" >> exit 1 >> fi >> else >> echo "Unable to start SMTP Mail Service, Run level >>must be S" >> exit 1 >> fi >> ;; >>'stop') >> pid=`/bin/ps -e | grep sendmail | grep connection | sed -e >>'s/^ *//' -e 's/ .*//' | head -1` >> if [ "X$pid" != "X" ]; then >> /bin/kill $pid >> else >> echo "No pid for SMTP Mail Service found" >> exit 1 >> fi >> ;; >>'restart') >> /sbin/init.d/sendmail stop >> if [ $? -ne 0 ]; then >> echo " -- Could not find running sendmail - >>attempting to restart..." >> fi >> sleep 2 >> pid=`/bin/ps -e | grep sendmail | grep connection | sed -e >>'s/^ *//' -e 's/ .*//' | head -1` >> if [ "X$pid" != "X" ]; then >> sleep 3 >> pid=`/bin/ps -e | grep sendmail | grep connection | >>sed -e 's/^ *//' -e 's/ .*//' | head -1` >> if [ "X$pid" != "X" ]; then >> echo "Could not kill SMTP Mail Service" >> echo " -- Kill sendmail by hand then do a >>start" >> exit 1 >> fi >> fi >> /sbin/init.d/sendmail start | sed -e 's/start/restart/' >> ;; >>clean) >> cleanqueue >> ;; >>*) >> echo "usage: $0 {start|stop|restart|clean}" >> ;; >>esac