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.

very new to cpanel

Discussion in 'Database Discussions' started by times, Apr 2, 2007.

  1. times

    times Member

    Joined:
    Apr 2, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    hello everyone im very new to all this but thought id give it a try, i was fooling around in my cpanel when moved or deleted a forum from the MySQL database. :(
    it was a php based forum, now everytime i try to readd it i get this message:

    [a fatal error or timeout occurred while processing this directive][a fatal error or timeout occurred while processing this directive]
    Error while connecting to MySQL. Failover enacted.
    [an error occurred while processing this directive]
    [a fatal error or timeout occurred while processing this directive]

    i then tried to install a different forum (yabb) which installed no problem, is there possibly a glitch with mySQL for the php forum or did i mess it up by deleting it from the database?
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    If you have shell access, login as root and try restarting mysql. Check the partition size to see /var is full using the command df -h. Or contact your host regarding this.
     
  3. times

    times Member

    Joined:
    Apr 2, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Alright ill give it a try thank you :)
     
  4. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    You didn't mention it, but did you:

    a) restore the deleted database
    b) reinstall the forum whose database you deleted
    c) neither
     
  5. times

    times Member

    Joined:
    Apr 2, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Alright i dont know how to restore, im very new to this, and yes i did try to reinstall the forum to the cpanel but it gave me that message, and only Yabb would install :confused:
     
  6. times

    times Member

    Joined:
    Apr 2, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Also for some reason im getting this message DB NOT WORKINGdatabase server at this time.
    when i try to access the actual webpage, i can access the cpanel with no problem at all, could this be a problem with my provider?
     
  7. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    How do you restart mysql as root in shell? Whats the command for it?
     
  8. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I just fixed the [a fatal error or timeout occurred while processing this directive] problem. It was the /etc/group file.

    Code:
    root::0:root
    bin::1:root,bin,daemon
    daemon::2:root,bin,daemon
    sys::3:root,bin,adm
    adm::4:root,adm,daemon
    tty::5:
    disk::6:root
    lp::7:daemon,lp
    mem::8:
    kmem::9:
    wheel::10:root
    mail::12:mail,postfix
    news::13:news
    uucp::14:uucp
    
    The beginning of the file was wrong. :)
     
  9. times

    times Member

    Joined:
    Apr 2, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    lol now im more confused than i was when i came here haha was that message directed at me grabyourhosting? or were you talkin to the other guy? lol im so lost and to make it better my whole site is down and idk if it was me or not but it says the DB is down or w/e
     
  10. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Code:
    server mysql restart
    
    (OR)

    Code:
    /etc/rc.d/init.d/mysql restart
    
     
  11. redham

    redham Member

    Joined:
    Aug 14, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I'd be willing to bet he doesn't have root access.

    You would be best to contact your hosting provider.
     
Loading...

Share This Page