How to report an error when using the su command to the db2admin user

Source: Internet
Author: User

Root, su-db2admin reports Segmentation fault. In the AIX environment with the DB2 database installed, when the user logs on to the system as the root user, then run the su command to the db2admin (# su-db2admin) user and always report the Segmentation fault (core dump) error (or the same error is reported when the db2admin user telnet to the system)

◆ 1. Edit the. PRofile file in the db2admin user directory and comment out all DB2-related projects (add # Before this line)

# If [-f/home/db2admin/das/dasprofile]; then

./Home/db2admin/das/dasprofile

Fi

)

If the problem returns to normal after being commented out, it turns out that it is a problem with the DB2 environment setup, you can ask the DB2 engineer to solve the setup problem.

Lppchk-v/-c

◆ 2. You can run the command to check for corrupted fileset or kernel files # lppchk-v, lppchk-f

◆ 3. Check that the directory of the db2admin user is not mounted. If the directory is not mounted, the above problem will also occur. (During the default installation, db2admin will be under the/home directory, but usually the customer will establish an independent logical volume and the corresponding file system to store the corresponding instance. So when the directory is not mounted, this problem occurs in su-db2admin .)

◆ 4. Another problem is that non-standard characters exist in. sh_history in the home directory of the db2admin user. just delete the file. (You must delete it. If you use # cp/dev/null. sh_history, it does not work)


Generally, we recommend that you do 4th items first. If you solve this problem, you do not need to perform other checks, especially in a running production system.

Related Article

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.