Results 1 to 2 of 2

Thread: Ubuntu Server suddenly stopped closed all ports

  1. #1
    Join Date
    Nov 2006
    Beans
    28

    Question Ubuntu Server suddenly stopped closed all ports

    I rebooted my server the other day and afterwards I was unable to ssh, access my samba shares or fetch webpages. Ssh, for example, says
    port 22: connection refused
    .

    I ran nmap on the device and it said that all my ports are closed.

    Is there a way to reopen the ports? or to find out what happened?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu Server suddenly stopped closed all ports

    It looks like your servers didn't start when you rebooted. You can start the services manually, they are all located in /etc/init.d:

    Code:
    1. sudo /etc/init.d/apache2 start
    2. sudo /etc/init.d/samba start
    3. sudo /etc/init.d/ssh start
    Check to see if they are located in /etc/rc*.d, if they are you can add them by using:

    Code:
    sudo update-rc.d
    just type it at the prompt, and it will give you the options.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •