LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2008, 06:10 AM   #1
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Rep: Reputation: 15
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 ???
 
Old 07-26-2008, 06:39 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 07-26-2008, 07:05 AM   #3
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 07-26-2008, 07:06 AM   #4
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
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
~
 
Old 07-26-2008, 07:26 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 07-26-2008, 07:32 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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?
 
Old 07-26-2008, 10:59 AM   #7
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
-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
~
~
 
Old 07-26-2008, 11:06 AM   #8
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 07-26-2008, 11:41 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
'chmod 0755 /etc/mail'?
 
Old 07-27-2008, 03:25 AM   #10
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
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]
 
Old 07-27-2008, 03:31 AM   #11
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
try chmod with -R
 
Old 07-27-2008, 03:36 AM   #12
Elnegro8
Member
 
Registered: Jul 2006
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
Old 07-27-2008, 03:49 AM   #13
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 07-27-2008, 03:56 AM   #14
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
check if / or /etc is world writable ?
 
Old 07-27-2008, 04:10 AM   #15
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
maybe this can help you,
http://linuxfunda.blogspot.com/2007/...blem-with.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS bootup failure after initializing HAL Daemon dsm Linux - Newbie 0 09-25-2007 01:33 AM
Booting CentOS 5, logo screen appears, stuff initializes, then screen goes black ctman Linux - Newbie 6 09-22-2007 08:36 AM
CentOS Freeze on bootup Richtown Linux - Newbie 6 02-20-2007 11:45 AM
Centos after bootup process monitor led blinks barkster Linux - Newbie 3 09-23-2006 09:19 PM
CentOS 4.2, Making Apache, and VsFTP Start at bootup adnonimape Linux - Software 1 03-22-2006 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration