Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Severe Server Problems (FC4)

Severe Server Problems (FC4)

2006-08-14       - By Rick Stevens

 Back
Reply:     1     2     3     4     5  

On Mon, 2006-08-14 at 00:40 -0600, karlp@(protected) wrote:
> My RH8.0 email/web server crashed. I've been struggling over the weekend to
> get things back up and still some things are hammered.
> You can see them by doing mailq -qL and re-process them by doing
> for i in "ls Q*"; do sendmail -v -qI$i -d11; done
> from in /var/spool/mqueue, which has drwx --- --- permissions, which is
correct.
> I'm suspect of sm-client, too, because it starts, then dies. I had to change
> the location of /var/run/sm-client.pid because it failed to start at all
> because of permissions.
>
> Forms on my server don't submit the emails to me they once did for usage
> tracking, etc. In maillog:
>    1. Aug 14 00:25:58 moroni sendmail[25780]: NOQUEUE: SYSERR(apache): can not
> chdir(/var/spool/mqueue/): Permission denied:

You need to check the sendmail.cf and submit.cf files to see what user
the programs are trying to run as.  Generally, sendmail tries to run as
root when it's doing things such as creating mail queue entries and as
user 8:12 (mail:mail) when doing other things such as delivery and
such.  smclient usually runs as user "smmsp" at all times.

As far as /var/run/sm-client.pid, the trick is that it is created by
root's performing a "touch" of it first, then does a "chown smmsp:smmsp"
of the file BEFORE sm-client is fired up.  Check
/etc/rc.d/init.d/sendmail for details.

> It appears these errors result in the next error, which is generated by the
> following CGI command:
> cat $FNM|tr 'A-Z' 'a-z' |mail -s "Access to $ACCESS" karlp
>
>    2. mail: invalid option -- r
> Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
>             [-- sendmail-options ...]
>        mail [-iInNv] -f [name]
>        mail [-iInNv] [-u user]
> 554 5.3.0 unknown mailer error 1

That's rather odd.  Your command line doesn't specify a "-r" anywhere.
This leads one to believe that one of the programs (possibly "tr") got
whapped and is spewing out garbage.  You really should try redirecting
the output of it to a file to test it:

  cat $FNM|tr 'A-Z' 'a-z' >/tmp/testoutput

and you should look at the expansion of "$ACCESS" to see if it has an
embedded quote or something in it.


> I apologize for being a bit scattered. I've been relatively brain hampered for
> 3 days now... 13 hours of sleep in the past 50+ hours.

Lightweight!  I've been running on 3 hours of sleep or less per night
for 3 weeks.  If you're looking for sympathy, you've come to the WRONG
place!  :-p

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      On a scale of 1 to 10 I'd say...  oh, somewhere in there.     -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe