Inadvertently solved the adsl dialing Problem

Source: Internet
Author: User
Inadvertently solved the problem of adsl dialing-general Linux technology-Linux technology and application information. The following is a detailed description. [Root @ adslserver network-scripts] # adsl-status
/Sbin/adsl-status: Cannot read configuration file 'path =/usr/local/squid/sbin'

Adsl-start does not respond.

Remember to accidentally execute the following command:
Export path =/usr/local/squid/sbin

The problem appeared in February this year, but no brother gave me the idea, so I had to let it go without thinking about it. It would not affect normal use.

I accidentally saw The sudo command today and found that I can display it normally without running the adsl-status command in the root account.

In this case, check the. bash_profile of a common user and find that the root user has a row more than the. bash_profile of other users.

BASH_ENV = $ HOME/. bashrc
Export USERNAME BASH_ENV PATH

Therefore
Set | grep "BASH_ENV"

Get
BASH_ENV =/root/. bashrc

Check again. bashrc

Hey, I finally found you with a thousand knives.

Set PATH =/usr/local/squid/sbin
Export PATH

Everything works after you comment it out.

Therefore, I tried my best to solve this problem.

Sometimes the problem is solved.

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.