Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    NoAgendas
    Guest

    Default urgent! cpanel/httpd down...corruption

    root@server [/tmp]# yum update glibc
    Setting up Update Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Could not find update match for glibc
    No Packages marked for Update/Obsoletion

    root@server [/tmp]# rpm -Uvh http://mirror.centos.org/centos-4/4....-2.25.i386.rpm
    Retrieving http://mirror.centos.org/centos-4/4....-2.25.i386.rpm
    Preparing... ########################################### [100%]
    package glibc-2.3.4-2.25 is already installed


    I had upgraded cpanel to EDGE to attempt to fix a php upgrade problem (as suggested by many on cpanel forums, but failed). I had downgraded back to RELEASE and attempted to reocmpile apache again back to the working php 4.4.2, got this:


    pwd: cannot get current directory: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    sh: line 0: cd: lxdialog: No such file or directory
    sh: /callbacklog: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    sh: line 0: cd: lxdialog: No such file or directory
    sh: /callbacklog: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    sh: lxmenu: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    sh: lxmenu: No such file or directory

  2. #2
    NoAgendas
    Guest

    Default

    I had to do a #8 default on /scripts/easyapache

    Now no accounts are listed in whm > list accounts but the accounts ALL show (I memorize some hosted domains on this server) cpnael's default green page!

    What is the fix for this?

    I did updateuserdomains, fixeverything, created a new test account (this was noted as a fix for missing accounts in list).
    Nothing worked.

    I manualy reversed (restored) httpd.conf and now I cannot update apache via whm, only via easyapache. WHM shows page not found
    when attempting to update. upcp --force a few times on release does nothing to fix it
    Last edited by NoAgendas; 09-04-2006 at 11:14 PM.

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    102

    Default

    same problem here, when i try to restart cpanel it comes

    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

  4. #4
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Same issue here.

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    pwd: cannot get current directory: No such file or directory
    This is the tattle tale line in what you quoted ....

    Anytime you use EasyApache to recompile apache, all of the apache folders are
    actually deleted and re-created again.

    If you are sitting in those folders or the modules or conf areas, then everything
    will seem to disapear around you and you will get the error messages that
    were displayed.

    Basically, you need to recompile Apache from outside the Apache folder paths
    when you do that and if you have any shell sitting in Apache folders after the
    re-compile, you need to change to some other folder path like "/home" or
    something and then come back to the folder again and then you will be
    able to see things again.

    That will deal with the errors you are describing. Now beyond that, whatever is
    bringing down Apache is probably something else.

    If all else fails, you can try re-compiling Apache with the "Last Resort" default config
    which is recommended anyway if you are switching back and forth from 1.3x and 2.x
    or vice versa since the httpd.conf really needs to be rebuilt from scratch for those.

Similar Threads & Tags
Similar threads

  1. *URGENT* Can't Start HTTPD
    By moFBush in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-27-2006, 01:05 PM
  2. all sites down, httpd up...URGENT
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 07-07-2006, 12:48 PM
  3. Need urgent help for httpd
    By Mr_Stepfire in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-17-2005, 08:26 AM
  4. httpd.conf corruption
    By hostit1 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-23-2004, 04:43 AM
  5. cPanel/FTP DB Corruption
    By Kikky in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-01-2004, 06:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube