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.

what is use of ci command

Discussion in 'General Discussion' started by big_bull, Jun 27, 2008.

  1. big_bull

    big_bull Well-Known Member

    Joined:
    Nov 19, 2006
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    Yesterday I have a problem with httpd.conf, it is giving syntax error for specific line so I tried to check the httpd.conf but due to typo error instead of vi ci is typed and the httpd.conf is converted into "httpd.conf,v" and some type of code is inserted into the conf file resulting in apache failure.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    root@xxx [~]# ci /usr/local/apache/conf/httpd.conf
    /usr/local/apache/conf/httpd.conf,v <-- /usr/local/apache/conf/httpd.conf
    file is unchanged; reverting to previous revision 1.475
    done.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    I have to rebuilt httod.conf by /scripts/rebuilthttpdconf

    Will anyone explain what happened actually by "ci"
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Try this on the command line:

    Code:
    # man ci
    
     
  3. big_bull

    big_bull Well-Known Member

    Joined:
    Nov 19, 2006
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    tried not not getting what happens actually

    :(
     
  4. Morley

    Morley Well-Known Member

    Joined:
    Apr 24, 2007
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
  5. big_bull

    big_bull Well-Known Member

    Joined:
    Nov 19, 2006
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page