A case of selinux causing failure

Source: Internet
Author: User
Tags syslog

A case of selinux causing failure
Such an error is the first encounter, the troubleshooting process has no clue, has been tangled in the child Setpgid This place, fortunately in the Google process to see someone in the setting selinux when the relevant cases, so think of starting from this.

Originally due to SELinux opened, but the more bizarre is from other terminal ssh jump past can not perform any operation, including the configuration SELinux, and later from the background remote management port login and then set and restart, to completely solve the problem.

-bash-4.3# ls-bash:child Setpgid (16790 to 16790): Permission deniedls:cannot Access RHEL6.2-20111117.0-SERVER-PPC64-DV D1.iso:Permission deniedls:cannot Access Rhel-server-6.2-x86_64-dvd.iso:permission deniedls:cannot access Install.log.syslog:Permission deniedls:cannot Access anaconda-ks.cfg:permission deniedls:cannot access install.log:p Ermission deniedanaconda-ks.cfg Documents install.log Music public rhel-s Erver-6.2-x86_64-dvd.iso videosdesktop Downloads install.log.syslog Pictures rhel6.2-20111117.0-server-ppc64- Dvd1.iso templates-bash-4.3# su-streamsadmin-bash:child Setpgid (16792 to 16792): Permission Denied-bash:su:command Not found-bash-4.3# Top-bash:child Setpgid (16793 to 16793): Permission denied top:failed TTY Set:input/output E     rror-bash-4.3# free-m-bash:child Setpgid (16794 to 16794): Permission denied total used free     Shared buffers Cachedmem:   129045 18018 111026 0 227 15605-/+ buffers/cache:2186 126859swap:10239 0 10239-bash-4.3# Cat. Bash_profile-bash:child Setpgid (16796 to 16796): Permission deniedcat:. Bash_profi Le:permission denied-bash-4.3# ls-l-bash:child Setpgid (16803 to 16803): Permission deniedls:cannot Access RHEL6.2-201 11117.0-server-ppc64-dvd1.iso:permission deniedls:cannot Access Rhel-server-6.2-x86_64-dvd.iso:permission Deniedls  : Cannot access install.log.syslog:Permission deniedls:cannot access anaconda-ks.cfg:permission deniedls:cannot access Install.log:Permission Deniedtotal-??????????    ? ?       ?            ? ? Anaconda-ks.cfgdrwxr-xr-x. 2 root root 4096 Dec 22:43 desktopdrwxr-xr-x. 2 root root 4096 Dec 22:43 documentsdrwxr-xr-x. 2 root root 4096 Dec 22:43 Downloads-??????????    ? ?       ?            ? ? Install.log-??????????    ? ?       ?            ? ? Install.log.syslogdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Musicdrwxr-xr-x. 2 root root 4096 Dec 22:43 picturesdrwxr-xr-x. 2 root root 4096 Dec 22:43 public-??????????    ? ?       ?            ? ? Rhel6.2-20111117.0-server-ppc64-dvd1.iso-??????????    ? ?       ?            ? ? Rhel-server-6.2-x86_64-dvd.isodrwxr-xr-x. 2 root root 4096 Dec 22:43 templatesdrwxr-xr-x.  2 root root 4096 Dec 22:43 videos-bash-4.3#


A case of selinux causing failure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.