modern-web-design-and-development

(Brent) #1

If ssh didn’t even connect, then it might be blocked by a firewall or turned
off on the server. If it said Permission denied, then you’ve probably
mistyped the user name or password. If it immediately said Connection
to http://www.stockashop.co.uk closed, then you are trying to log in with
a user name that is not allowed to run commands; make sure you’re
logging in as the administrative user and not an FTP user.


6. Has It Run Out Of Space?


Your server has likely not run out of hard disk space, but I’m putting this
first because it’s a fairly easy problem to deal with. The command is df, but
you can add -h to show the results in megabytes and gigabytes. Type this
on the command line:


admin@server$ df -h

The results will list each file system (i.e. hard drive or partition) and show
the percentage of each that has been used.


Checking hard disk usage on a Linux server.

Free download pdf