starting of nagios during reboot

David Jacobson davidj at synaq.com
Sat May 14 19:45:00 CEST 2005


Hi Jim

You need to manipulate SELinux to allow you to access /dev/pts/0
alternatively, you can disable SELinux by editing your
/etc/sysconfig/selinux file and appending :

SELINUX=disabled

The latter would be easier but if you are anal about security I
suggest modifying your configuration.

Regards,
David

> Fedora core3
> Errors shown /var/log/messages, can someone define in simple terms
> what's happening.
>  From what little I understand this it looks like Selinux could be a
> culprit.
> This is the fastest mail list in responding, Thanks everybody.
> Thanks
> Jim
>
>
> nagios: Starting network monitor: nagios
> May 14 11:03:32 mickeyboy fstab-sync[3648]: removed all generated mount
> points
> May 14 11:03:32 mickeyboy su(pam_unix)[3646]: session opened for user
> nagios by (uid=0)
> May 14 11:03:32 mickeyboy su[3646]: Warning!  Could not relabel
> /dev/pts/0 with user_u:object_r:devpts_t, not relabeling.Operation not
> permitted
> May 14 11:03:32 mickeyboy su(pam_unix)[3646]: session closed for user
> nagios
> May 14 11:03:32 mickeyboy nagios: touch:
> May 14 11:03:32 mickeyboy nagios: cannot touch
> `/var/run/nagios/nagios.pid': No such file or directory
> May 14 11:03:32 mickeyboy nagios: chown: cannot access
> `/var/run/nagios/nagios.pid': No such file or directory
> May 14 11:03:32 mickeyboy fstab-sync[3773]: added mount point
> /media/cdrecorder for /dev/hdc
> May 14 11:03:32 mickeyboy nagios: Nagios 2.0b2 starting... (PID=3674)
> May 14 11:03:32 mickeyboy nagios: LOG VERSION: 2.0
> May 14 11:03:32 mickeyboy nagios: Error: Cannot open config file
> '/etc/nagios/contactgroups.cfg' for reading: No such file or directory
> May 14 11:03:32 mickeyboy nagios: Bailing out due to one or more errors
> encountered in the configuration files.  Run Nagios from the command
> line with the -v option to verify your config before restarting.
> (PID=3674)
> May 14 11:03:33 mickeyboy fstab-sync[3839]: added mount point
> /media/floppy for /dev/fd0
> May 14 11:03:33 mickeyboy nagios: No lock file found in
> /var/run/nagios/nagios.pid
> May 14 11:03:33 mickeyboy rc: Starting nagios:  failed
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-- 
Regards,

David Jacobson
Technical Director
SYNAQ (Pty) Ltd

Tel:    0860 0 SYNAQ (79627)
Direct: 011 290 6388
Fax:    011 290 6389
Cell:   083 235 0760
Mail:   davidj at synaq.com
Web:    http://www.synaq.com

Key Fingerprint
8246 FCE1 3C22 7EFB E61B  18DF 6E8B 65E8 BD50 78A1


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list