LINUX.ORG.RU

Сообщения bumbay

 

Проблемы в работе модуля Node.JS pm2?

Что я делаю.

Перезапускаю сервер и начинаю работу с модулем.

# pm2 list
┌──────────┬────┬──────┬─────┬────────┬───────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ PID │ status │ restarted │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴───────────┴────────┴────────┴──────────┘
 Use `pm2 desc[ribe] <id>` to get more details

Все хорошо - далее.

# pm2 startup centos
[PM2] Generating system init script in /etc/init.d/pm2-init.sh
[PM2] Making script booting at startup...
/var/lock/subsys/pm2-init.sh lockfile has been added
[PM2] -centos- Using the command su -c «chmod +x /etc/init.d/pm2-init.sh; chkconfig --add pm2-init.sh»

[PM2] Done.

Все хорошо - далее.

# pm2 start /node/processes.json

И на этом все. pm2 больше не отвечает. (Ctrl+Z) и пробую другие команды. Все, кроме основной pm2 не работают.

Помогает перезагрузка.

В чем может быть проблема и как её решить?

 ,

bumbay
()

xCache для PHP 5.3.18 на CentOS 5

Задача: установить xCache на VPS под CentOS.

Мои действия:

wget http://xcache.lighttpd.net/pub/Releases/3.0.0/xcache-3.0.0.tar.gz
tar -xvf xcache-3.0.0.tar.gz
cd xcache-3.0.0/
phpize
./configure --enable-xcache
make
make install

В php.ini прописал расширение. Apache перезагрузил.

Проблема:

php -v
PHP Warning:  PHP Startup: XCache: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: XCache: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP 5.3.18 (cli) (built: Oct 22 2012 10:46:32)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Дополнительная информация:
# phpize -v
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
# which phpize
/usr/bin/phpize

 ,

bumbay
()

RSS подписка на новые темы