The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with path's

Discussion in 'General Discussion' started by dropby23, Aug 2, 2005.

  1. dropby23

    dropby23 Well-Known Member

    Joined:
    Jan 16, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    166
    hello we are having problems with paths
    example
    in root console
    root@roota [/]# apf -st
    bash: apf: command not found
    root@roota [/]#


    root@roota [/]# /usr/local/sbin/apf -st
    APF Status Log:

    root@roota [/]#service httpd restart
    bash: service: command not found

    root@roota [/]# /etc/init.d/httpd restart
    works
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    If you're using su to login to root, remember to use a dash:

    su -
     
  4. dropby23

    dropby23 Well-Known Member

    Joined:
    Jan 16, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    166
    su -
    fixed my problem
     
Loading...

Share This Page