Sponsored Content
Operating Systems Linux Red Hat Unable to start cluster service in redhat 5 Post 302130639 by santhoshb on Tuesday 7th of August 2007 07:19:39 AM
Old 08-07-2007
Unable to start cluster service in redhat 5

Hi,
I am trying to setup redhat native cluster 5, i installed all the required rpms and issued the command service cman start (cman is the cluster manager)
this gives me output...
#service cman start
Starting cluster:
Loading modules... done
Mounting configfs... done
Starting ccsd... done
Starting cman... failed
[FAILED]

It also triggers some selinux security check:
---------------------------------------------
Summary
SELinux is preventing the /usr/sbin/aisexec from using potentially
mislabeled files (tmp).

Detailed Description
SELinux has denied /usr/sbin/aisexec access to potentially mislabeled
file(s) (tmp). This means that SELinux will not allow /usr/sbin/aisexec to use these files. It is common for users to edit files in their home
directory or tmp directories and then move (mv) them to system directories. The problem is that the files end up with the wrong file context which confined applications are not allowed to access.

Allowing Access
If you want /usr/sbin/aisexec to access this files, you need to relabel them using restorecon -v tmp. You might want to relabel the entire directory using restorecon -R -v .
--------------------------------------------

I ran the commands restorecon -R -v /tmp, but it didnt solve my problem.
I would be very thankful, If you help me out...

Thanks,
Santhosh
 

10 More Discussions You Might Find Interesting

1. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

2. Red Hat

Redhat cluster

Hi Friends, I am trying to configure redhat high availability cluster on rhel5 32bit. As i am not having the RHN subscription, I have to intsall all the cluster suite manually. I am not aware what all are the rpms needs to be installed. Please let me know about the rpms needs to be installed.... (3 Replies)
Discussion started by: arumon
3 Replies

3. Red Hat

Redhat cluster error

hi all , I'm trying for the Red-hat cluster setup with the ' Enable shared storage support'. But hang up with a error that "Packages of set "Clustered Storage" are not present in any available repository". I made this setup by installing the rpm manually..I ve attached the rpm list and error... (0 Replies)
Discussion started by: sriniv666
0 Replies

4. Red Hat

configuring MYsql db on redhat cluster

Hello, can someone please suggest me in configuring the mysql db on redhat cluster, I have few questions. 1. where do I have to configure heart beat links, and is there any file in the redhat cluster that we update it to use these ipaddress and these interface on the node. 2. I am configuring... (0 Replies)
Discussion started by: bobby320
0 Replies

5. Red Hat

Redhat 6.2 cluster

Hello Experts, Please help me with the exact steps on configuring two node cluster on RHEL 6.2, I failed to configure the simplest cluster by below steps, 1- install RHEL 6.2 64-bit on both nodes 2- add to hosts file of each server ( 1 IP in local NW and another in IP private NW). x.x.x.x ... (1 Reply)
Discussion started by: karmellove
1 Replies

6. Red Hat

Redhat cluster

HI, Can you guys help me to install redhat cluster on VMware Workstation. How to download cluster suite and how to configure on Workstation. (1 Reply)
Discussion started by: karthik9358
1 Replies

7. Red Hat

Query Regarding Redhat Cluster ?? Please help me

:b::b:Hello Expert, I have a query regarding redhat cluster configuration file (/etc/cluster/cluster.conf). Is there any process to change the location of the configuration file of the cluster. Is there any step in ricci process.. If yes then please explain me how the cluster node will... (0 Replies)
Discussion started by: Pradipta Kumar
0 Replies

8. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (0 Replies)
Discussion started by: Meacham12
0 Replies

9. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (1 Reply)
Discussion started by: Meacham12
1 Replies

10. Homework & Coursework Questions

NFS service not started in Redhat Cluster

Hi All, Need your help to resolve below error in cluter. Sep 9 05:37:30 node2 rgmanager: Starting disabled service service:Prod_Service Sep 9 05:37:30 node2 rgmanager: HA LVM: Improper setup detected Sep 9 05:37:30 node2 rgmanager: * initrd image needs to be newer than lvm.conf... (3 Replies)
Discussion started by: nitinredekar
3 Replies
xenstored_selinux(8)					     SELinux Policy xenstored					      xenstored_selinux(8)

NAME
xenstored_selinux - Security Enhanced Linux Policy for the xenstored processes DESCRIPTION
Security-Enhanced Linux secures the xenstored processes via flexible mandatory access control. The xenstored processes execute with the xenstored_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. For example: ps -eZ | grep xenstored_t ENTRYPOINTS
The xenstored_t SELinux type can be entered via the xenstored_exec_t file type. The default entrypoint paths for the xenstored_t domain are the following: /usr/sbin/xenstored, /usr/sbin/oxenstored PROCESS TYPES
SELinux defines process types (domains) for each process running on the system You can see the context of a process using the -Z option to ps Policy governs the access confined processes have to files. SELinux xenstored policy is very flexible allowing users to setup their xen- stored processes in as secure a method as possible. The following process types are defined for xenstored: xenstored_t Note: semanage permissive -a xenstored_t can be used to make the process type xenstored_t permissive. SELinux does not deny access to per- missive process types, but the AVC (SELinux denials) messages are still generated. BOOLEANS
SELinux policy is customizable based on least access required. xenstored policy is extremely flexible and has several booleans that allow you to manipulate the policy and run xenstored with the tightest access possible. If you want to allow all daemons to write corefiles to /, you must turn on the daemons_dump_core boolean. Disabled by default. setsebool -P daemons_dump_core 1 If you want to enable cluster mode for daemons, you must turn on the daemons_enable_cluster_mode boolean. Enabled by default. setsebool -P daemons_enable_cluster_mode 1 If you want to allow all daemons to use tcp wrappers, you must turn on the daemons_use_tcp_wrapper boolean. Disabled by default. setsebool -P daemons_use_tcp_wrapper 1 If you want to allow all daemons the ability to read/write terminals, you must turn on the daemons_use_tty boolean. Disabled by default. setsebool -P daemons_use_tty 1 If you want to deny any process from ptracing or debugging any other processes, you must turn on the deny_ptrace boolean. Enabled by default. setsebool -P deny_ptrace 1 If you want to allow all domains to use other domains file descriptors, you must turn on the domain_fd_use boolean. Enabled by default. setsebool -P domain_fd_use 1 If you want to allow all domains to have the kernel load modules, you must turn on the domain_kernel_load_modules boolean. Disabled by default. setsebool -P domain_kernel_load_modules 1 If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. setsebool -P fips_mode 1 If you want to enable reading of urandom for all domains, you must turn on the global_ssp boolean. Disabled by default. setsebool -P global_ssp 1 MANAGED FILES
The SELinux process type xenstored_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions. cluster_conf_t /etc/cluster(/.*)? cluster_var_lib_t /var/lib/pcsd(/.*)? /var/lib/cluster(/.*)? /var/lib/openais(/.*)? /var/lib/pengine(/.*)? /var/lib/corosync(/.*)? /usr/lib/heartbeat(/.*)? /var/lib/heartbeat(/.*)? /var/lib/pacemaker(/.*)? cluster_var_run_t /var/run/crm(/.*)? /var/run/cman_.* /var/run/rsctmp(/.*)? /var/run/aisexec.* /var/run/heartbeat(/.*)? /var/run/cpglockd.pid /var/run/corosync.pid /var/run/rgmanager.pid /var/run/cluster/rgmanager.sk root_t / /initrd xenfs_t xenstored_tmp_t xenstored_var_lib_t /var/lib/xenstored(/.*)? xenstored_var_log_t /var/log/xenstored.* xenstored_var_run_t /var/run/xenstored(/.*)? /var/run/xenstore.pid FILE CONTEXTS
SELinux requires files to have an extended attribute to define the file type. You can see the context of a file using the -Z option to ls Policy governs the access confined processes have to these files. SELinux xenstored policy is very flexible allowing users to setup their xenstored processes in as secure a method as possible. STANDARD FILE CONTEXT SELinux defines the file context types for the xenstored, if you wanted to store files with these types in a diffent paths, you need to execute the semanage command to sepecify alternate labeling and then use restorecon to put the labels on disk. semanage fcontext -a -t xenstored_exec_t '/srv/xenstored/content(/.*)?' restorecon -R -v /srv/myxenstored_content Note: SELinux often uses regular expressions to specify labels that match multiple files. The following file types are defined for xenstored: xenstored_exec_t - Set files with the xenstored_exec_t type, if you want to transition an executable to the xenstored_t domain. Paths: /usr/sbin/xenstored, /usr/sbin/oxenstored xenstored_tmp_t - Set files with the xenstored_tmp_t type, if you want to store xenstored temporary files in the /tmp directories. xenstored_var_lib_t - Set files with the xenstored_var_lib_t type, if you want to store the xenstored files under the /var/lib directory. xenstored_var_log_t - Set files with the xenstored_var_log_t type, if you want to treat the data as xenstored var log data, usually stored under the /var/log directory. xenstored_var_run_t - Set files with the xenstored_var_run_t type, if you want to store the xenstored files under the /run or /var/run directory. Paths: /var/run/xenstored(/.*)?, /var/run/xenstore.pid Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels. COMMANDS
semanage fcontext can also be used to manipulate default file context mappings. semanage permissive can also be used to manipulate whether or not a process type is permissive. semanage module can also be used to enable/disable/install/remove policy modules. semanage boolean can also be used to manipulate the booleans system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was auto-generated using sepolicy manpage . SEE ALSO
selinux(8), xenstored(8), semanage(8), restorecon(8), chcon(1), sepolicy(8) , setsebool(8) xenstored 14-06-10 xenstored_selinux(8)
All times are GMT -4. The time now is 09:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy