Jump to content
  • 0

vps linux


Jin Freecs

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

Can anyone please help me with my prob? Who among here knows the command in linux coz restart my vps using this command "sudo reboot" but before i restart it my svn is working fine but after the reboot and try to run my svn i can't connect anymore to mysql also my CP can't connect to mysql. i tried to use this command line "/etc/rc.d/init.d/mysqld start <---- start the sql" "/etc/rc.d/init.d/mysqld restart <----- restart" but still no luck. anyone knows? what is my vps problem???? sorry for the noob question im very new to this LINUX thing

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  196
  • Reputation:   20
  • Joined:  11/20/11
  • Last Seen:  

use:

top

or

ps -xa 

to see the processes running.

I think the mysql service is not started:

use this :

service mysql start

or

service mysqld start

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  196
  • Reputation:   20
  • Joined:  11/20/11
  • Last Seen:  

hmm,

1.Which OS are u using?

2.Did you check if after starting rathena ... you can see them in the process manager-If they are really running.

3.If 2nd is yes then you must be blocking the ports.you have to stop the services which is blocking them.Probably the iptables service

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

Linux i just restart my vps and after that i can't connect anymore to sql. sorry for the short explanation im just new to this linux environment and i tried to run the netstats and i saw TIME_OUT

tcp 0 0 ********:mysql **************:60164 TIME_WAIT -

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

just use reboot for reboot

dont use sudo reboot

and maybe your sql is stuck , please use this

service mysqld start

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/06/11
  • Last Seen:  

Hi,

You can also type:

$  /etc/init.d/mysql restart

Regards.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  12/22/11
  • Last Seen:  

Thanks resolved already thanks for all the info

Regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...