Non-root users to perform psql issues

Source: Internet
Author: User
Tags psql
After installing PostgreSQL, the normal user executes Psql error:
‘‘‘
Can ' t locate strict.pm:/usr/local/lib/x86_64-linux-gnu/perl/5.22.1/strict.pm:permission denied At/usr/bin/psql line 19.
BEGIN failed--compilation aborted At/usr/bin/psql line 19.
‘‘‘

While the strict.pm is under/usr/lib instead of/usr/local/lib, the Perl load module will not continue to search for other paths, but simply throw an error when it encounters a path that is inaccessible. The check was found because the/usr/local directory permission was set to 700, and the owner and the group were set up for another user.
Correct execution of/usr/local directory permissions.

Non-root users to perform psql issues

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.