Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-26-2008, 07:10 AM
|
#1
|
Member
Registered: Jul 2006
Posts: 70
Rep:
|
While centos bootup seems to have some errors ...how to stop the screen
hi
seens my boot log dosent working ....on centos 5 while the system boot and check the services and mark the good ones with "OK" colored green i have 2 error that failed colored red "failed" but i cant see what the problems becuse the screen runing 2 fast i try to press space or cntrl break but nothing seems to stop the screen any idea ???
|
|
|
07-26-2008, 07:39 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Check 'dmesg' after bootup, your other syslogs like /var/log/kernel, /var/log/messages, or if it's a service that's failing, try the respective daemon logs?
|
|
|
07-26-2008, 08:05 AM
|
#3
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
hi 10xx 4 replay i dont have /var/log/kernel
[root@Elena ~]# less /var/log/
acpid boot.log conman.old/ dmesg maillog.1 pm/ rpmpkgs.2 spooler wtmp
anaconda.log boot.log.1 cron faillog maillog.2 ppp/ samba/ spooler.1 yum.log
anaconda.syslog boot.log.2 cron.1 lastlog messages prelink/ secure spooler.2
anaconda.xlog btmp cron.2 mail/ messages.1 rpmpkgs secure.1 tallylog
audit/ conman/ cups/ maillog messages.2 rpmpkgs.1 secure.2 vbox/
and in the log/messages dosenr have any errors i think the problems is in the /etc/mail/trusted-users
Jul 25 22:27:54 Elena sendmail[1986]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 25 22:27:54 Elena sendmail[1986]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 25 22:27:54 Elena sendmail[1990]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 25 22:27:54 Elena sendmail[1990]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 25 22:27:54 Elena sm-msp-queue[1995]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writa
ble directory
Jul 25 23:06:26 Elena sendmail[1975]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 25 23:06:26 Elena sendmail[1975]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 25 23:06:26 Elena sendmail[1979]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 25 23:06:26 Elena sendmail[1979]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 25 23:06:26 Elena sm-msp-queue[1984]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writa
ble directory
Jul 26 00:11:59 Elena sendmail[2494]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable
directory
Jul 26 00:13:45 Elena sendmail[2936]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable
directory
Jul 26 04:02:07 Elena sendmail[3619]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable
directory
Jul 26 04:02:11 Elena sendmail[3899]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable
directory
Jul 26 13:25:10 Elena sendmail[1966]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 26 13:25:10 Elena sendmail[1966]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 26 13:25:10 Elena sendmail[1970]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 26 13:25:10 Elena sendmail[1970]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 26 13:25:10 Elena sm-msp-queue[1975]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writa
any idea ?
and what do you meen about respective daemon logs?
10xx in advace
|
|
|
07-26-2008, 08:06 AM
|
#4
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
~
|
|
|
07-26-2008, 08:26 AM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Is /etc/mail/trusted-users a file or directory? Assuming it's a directory, it sound like you need to
chmod o-w /etc/mail/trusted-users
In terms of daemon logs, the individual services have their own logs or log groups, so failed mail related services will log to maillog, samba services log to the samba directory, etc.
|
|
|
07-26-2008, 08:32 AM
|
#6
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
I see /etc/mail/trusted-users is a file. Here's what it should look like
Quote:
-rw-r--r-- 1 root root 127 Mar 15 2007 trusted-users
|
so chmod 644 /etc/mail/trusted-users
What did you do to change it?
|
|
|
07-26-2008, 11:59 AM
|
#7
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
-rw-r--r-- 1 root root 127 Mar 15 2007 trusted-users
still the same messages on srartup
is there is a way to stop the start up process to see what is the error?Jul 26 13:25:10 Elena sm-msp-queue[1975]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writa
ble directory
Jul 26 17:10:09 Elena sendmail[1965]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 26 17:10:09 Elena sendmail[1965]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 26 17:10:09 Elena sendmail[1969]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writa
ble directory
Jul 26 17:10:09 Elena sendmail[1969]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writabl
e directory
Jul 26 17:10:09 Elena sm-msp-queue[1974]: NOQUEUE: SYSERR(root): /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World wri
cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
l.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
l.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
mit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
~
~
|
|
|
07-26-2008, 12:06 PM
|
#8
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
hi i try to start the send mail and this is the error :
[root@Elena ~]# /etc/init.d/sendmail status
sendmail is stopped
[root@Elena ~]# /etc/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]
any idea?
[root@Elena ~]# ll -l /etc/mail/trusted-users
-rw-r--r-- 1 root root 127 Mar 15 2007 /etc/mail/trusted-users
|
|
|
07-26-2008, 12:41 PM
|
#9
|
Moderator
Registered: May 2001
Posts: 29,415
|
'chmod 0755 /etc/mail'?
|
|
|
07-27-2008, 04:25 AM
|
#10
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
i did but still the same messages
[root@Elena grub]# chmod 0755 /etc/mail
[root@Elena grub]# ll -l /etc/mail/
total 244
-rw-r--r-- 1 root root 355 Mar 15 2007 access
-rw-r----- 1 root root 12288 Jul 3 22:00 access.db
-rw-r--r-- 1 root root 0 Mar 15 2007 domaintable
-rw-r----- 1 root root 12288 Jul 3 22:00 domaintable.db
-rw-r--r-- 1 root root 5521 Mar 15 2007 helpfile
-rw-r--r-- 1 root root 64 Mar 15 2007 local-host-names
-rw-r--r-- 1 root root 0 Mar 15 2007 mailertable
-rw-r----- 1 root root 12288 Jul 3 22:00 mailertable.db
-rw-r--r-- 1 root root 1048 Mar 15 2007 Makefile
-rw-r--r-- 1 root root 58194 Jul 3 22:00 sendmail.cf
-rw-r--r-- 1 root root 7209 Mar 15 2007 sendmail.mc
-r--r--r-- 1 root root 41275 Mar 15 2007 submit.cf
-rw-r--r-- 1 root root 940 Mar 15 2007 submit.mc
-rw-r--r-- 1 root root 127 Mar 15 2007 trusted-users
-rw-r--r-- 1 root root 0 Mar 15 2007 virtusertable
-rw-r----- 1 root root 12288 Jul 3 22:00 virtusertable.db
[root@Elena grub]# chmod 0755 /etc/mail
[root@Elena grub]# ll -l /etc/mail/
total 244
-rw-r--r-- 1 root root 355 Mar 15 2007 access
-rw-r----- 1 root root 12288 Jul 3 22:00 access.db
-rw-r--r-- 1 root root 0 Mar 15 2007 domaintable
-rw-r----- 1 root root 12288 Jul 3 22:00 domaintable.db
-rw-r--r-- 1 root root 5521 Mar 15 2007 helpfile
-rw-r--r-- 1 root root 64 Mar 15 2007 local-host-names
-rw-r--r-- 1 root root 0 Mar 15 2007 mailertable
-rw-r----- 1 root root 12288 Jul 3 22:00 mailertable.db
-rw-r--r-- 1 root root 1048 Mar 15 2007 Makefile
-rw-r--r-- 1 root root 58194 Jul 3 22:00 sendmail.cf
-rw-r--r-- 1 root root 7209 Mar 15 2007 sendmail.mc
-r--r--r-- 1 root root 41275 Mar 15 2007 submit.cf
-rw-r--r-- 1 root root 940 Mar 15 2007 submit.mc
-rw-r--r-- 1 root root 127 Mar 15 2007 trusted-users
-rw-r--r-- 1 root root 0 Mar 15 2007 virtusertable
-rw-r----- 1 root root 12288 Jul 3 22:00 virtusertable.db
[root@Elena grub]# /etc/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]
|
|
|
07-27-2008, 04:31 AM
|
#11
|
Member
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Rep:
|
try chmod with -R
|
|
|
07-27-2008, 04:36 AM
|
#12
|
Member
Registered: Jul 2006
Posts: 70
Original Poster
Rep:
|
the same
[root@Elena grub]# chmod -R 0755 /etc/mail
[root@Elena grub]# /etc/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
|
|
|
07-27-2008, 04:49 AM
|
#13
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
That probably wasn't the best idea - the permissions within /etc/mail were OK. You may need to set them back to 644
Can you please post
ls -la /etc/mail
and
ls -Z /etc/mail
|
|
|
07-27-2008, 04:56 AM
|
#14
|
Member
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Rep:
|
check if / or /etc is world writable ?
|
|
|
07-27-2008, 05:10 AM
|
#15
|
Member
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Rep:
|
|
|
|
All times are GMT -5. The time now is 03:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|