A
A
Alexandra Travkina2016-04-12 16:17:31
CMS
Alexandra Travkina, 2016-04-12 16:17:31

How to run Ghost on shared hosting?

Hello.
I'm trying to install Ghost on a shared hosting (Jino), the installation is successful, I set up the config, specify port 8080 and other data. But when I try to run the script, I get an error:

ERROR: (EADDRINUSE) Cannot start Ghost.
 Port 8080 is already in use by another program.
 Is another Ghost instance already running?
npm ERR! Linux 2.6.32-573.1.1.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" "--production"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node index`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] start script 'node index'.
npm ERR! This is most likely a problem with the ghost package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index
npm ERR! You can get their info via:
npm ERR!     npm owner ls ghost
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/users/m/mrs-cuteshy/domains/***.ru/ghost/npm-debug.log

Checking via telnet shows that the port is free. I tried to specify other free ports, 8084 for example, the same error still occurs. What could be the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2016-04-12
@Sanes

Are you sure that your hosting meets the system requirements? Such questions in the first place should always be addressed to the technical support of the hosting provider. And then you can clarify here.

A
Alexandra Travkina, 2016-04-12
@cuteshy

Sanes Tech Support said yes. First of all, I wrote there.
The installation itself was successful, but the script does not start for some reason.

P
Puma Thailand, 2016-04-12
@opium

shared hosting usually never allows ports to be opened on the server side

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question