• Данный материал предоставлен сайтом исключительно в ознакомительных целях.
    Администрация не несет ответственности за его содержимое. По всем жалобам пишите на почту abusevhguru@yandex.ru

Не сохраняет ссылку на трейд

Scar15

Пользователь
Сообщения
18
Реакции
3

Scar15

  • 18
  • 3
Ребята ,собственно как пофиксить этот баг? Я пробывал все делать по инструкции из соседней ветки форума ,но не получилось . Вот что пробовал :
На всякий случай прописал команду установки монго и перезагрузил сервер .
Вот первый лог :

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 22 14:30:56 2015 from 95-55-40-206.dynamic.avangarddsl.ru
root@luck-cs:~# npm install -g mongo-express
\
> kerberos@0.0.15 install /usr/lib/node_modules/mongo-express/node_modules/mongo db/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo t/.node-gyp/0.12.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_m odules/mongo-express/node_modules/mongodb/node_modules/mongodb-core/node_modules /kerberos/.node-gyp"
make: Entering directory `/usr/lib/node_modules/mongo-express/node_modules/mongo db/node_modules/mongodb-core/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/usr/lib/node_modules/mongo-express/node_modules/mongod b/node_modules/mongodb-core/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074 :12)
gyp ERR! System Linux 2.6.32-042stab108.1
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/nod e-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/mongo-express/node_modules/mongodb/node_modul es/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
mongo-express@0.23.3 /usr/lib/node_modules/mongo-express
├── basic-auth-connect@1.0.0
├── async@1.4.2
├── consolidate@0.12.1
├── underscore@1.8.3
├── cookie-parser@1.4.0 (cookie-signature@1.0.6, cookie@0.2.2)
├── serve-favicon@2.3.0 (fresh@0.3.0, etag@1.7.0, ms@0.7.1, parseurl@1.3.0)
├── method-override@2.3.5 (methods@1.1.1, vary@1.0.1, parseurl@1.3.0, debug@2.2. 0)
├── morgan@1.6.1 (on-headers@1.0.1, basic-auth@1.0.3, depd@1.0.1, debug@2.2.0, o n-finished@2.3.0)
├── express-session@1.11.3 (cookie@0.1.3, utils-merge@1.0.0, cookie-signature@1. 0.6, on-headers@1.0.1, parseurl@1.3.0, depd@1.0.1, crc@3.3.0, debug@2.2.0, uid-s afe@2.0.0)
├── errorhandler@1.4.2 (escape-html@1.0.2, accepts@1.2.13)
├── express@4.13.3 (escape-html@1.0.2, merge-descriptors@1.0.0, array-flatten@1. 1.1, cookie@0.1.3, utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.1, ran ge-parser@1.0.2, fresh@0.3.0, vary@1.0.1, path-to-regexp@0.1.7, etag@1.7.0, cont ent-type@1.0.1, parseurl@1.3.0, content-disposition@0.5.0, serve-static@1.10.0, depd@1.0.1, finalhandler@0.4.0, on-finished@2.3.0, qs@4.0.0, debug@2.2.0, proxy- addr@1.0.8, send@0.13.0, accepts@1.2.13, type-is@1.6.9)
├── body-parser@1.14.0 (bytes@2.1.0, content-type@1.0.1, depd@1.1.0, on-finished @2.3.0, http-errors@1.3.1, debug@2.2.0, qs@5.1.0, type-is@1.6.9, iconv-lite@0.4. 11, raw-body@2.1.4)
├── swig@1.4.2 (optimist@0.6.1, uglify-js@2.4.24)
└── mongodb@2.0.43 (readable-stream@1.0.31, es6-promise@2.1.1, mongodb-core@1.2. 12)
root@luck-cs:~# reboot
root@luck-cs:~#
Broadcast message from root@luck-cs
(/dev/pts/1) at 14:58 ...



После чего обновил . Шел по пути /usr/local/lib , но здесь увидел папку python 2.7. Решил содать каталог nodemodules и mong-express самостаятельно . Туда кинул файл config и изменил как все указано . Но на в бд не заходит , даже не грузит эту страницу .
Вот второй лог пати :
login as: root
root@82.146.43.58's password:
Linux luck-cs 2.6.32-042stab108.1 #1 SMP Thu Apr 23 19:17:11 MSK 2015 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 22 14:55:08 2015 from 95-55-40-206.dynamic.avangarddsl.ru
root@luck-cs:~# (forever start --uid "mongo" -a usr/local/lib/node modules/mongo-express/app.js
Бот у меня в папке root а далее папка bot
пытаюсь запустить его cd root/bot
Но база также как будто и не сущетсвет . Пробывал изменять в конфиге порт на 8089

Буду благодарен если вы поможете
 

flashtv

Новичок
Сообщения
36
Реакции
0

flashtv

  • 36
  • 0
Обратите внимание, пользователь заблокирован. Крайне не рекомендуем заключать сделки с этим пользователем,
Это серьезная проблема искал решение 2 мес. Пока сам не разобрался...помогу дорого,Скайп wmpuma
 

sal

Новичок
Сообщения
3
Реакции
0

sal

  • 3
  • 0
You should have done research before you did this. kind of difficult now ...
 

Super2228

Новичок
Сообщения
5
Реакции
0

Super2228

  • 5
  • 0
Ребята ,собственно как пофиксить этот баг? Я пробывал все делать по инструкции из соседней ветки форума ,но не получилось . Вот что пробовал :
На всякий случай прописал команду установки монго и перезагрузил сервер .
Вот первый лог :

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 22 14:30:56 2015 from 95-55-40-206.dynamic.avangarddsl.ru
root@luck-cs:~# npm install -g mongo-express
\
> kerberos@0.0.15 install /usr/lib/node_modules/mongo-express/node_modules/mongo db/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

gyp WARN EACCES user "root" does not have permission to access the dev dir "/roo t/.node-gyp/0.12.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_m odules/mongo-express/node_modules/mongodb/node_modules/mongodb-core/node_modules /kerberos/.node-gyp"
make: Entering directory `/usr/lib/node_modules/mongo-express/node_modules/mongo db/node_modules/mongodb-core/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/usr/lib/node_modules/mongo-express/node_modules/mongod b/node_modules/mongodb-core/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074 :12)
gyp ERR! System Linux 2.6.32-042stab108.1
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/nod e-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/mongo-express/node_modules/mongodb/node_modul es/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
mongo-express@0.23.3 /usr/lib/node_modules/mongo-express
├── basic-auth-connect@1.0.0
├── async@1.4.2
├── consolidate@0.12.1
├── underscore@1.8.3
├── cookie-parser@1.4.0 (cookie-signature@1.0.6, cookie@0.2.2)
├── serve-favicon@2.3.0 (fresh@0.3.0, etag@1.7.0, ms@0.7.1, parseurl@1.3.0)
├── method-override@2.3.5 (methods@1.1.1, vary@1.0.1, parseurl@1.3.0, debug@2.2. 0)
├── morgan@1.6.1 (on-headers@1.0.1, basic-auth@1.0.3, depd@1.0.1, debug@2.2.0, o n-finished@2.3.0)
├── express-session@1.11.3 (cookie@0.1.3, utils-merge@1.0.0, cookie-signature@1. 0.6, on-headers@1.0.1, parseurl@1.3.0, depd@1.0.1, crc@3.3.0, debug@2.2.0, uid-s afe@2.0.0)
├── errorhandler@1.4.2 (escape-html@1.0.2, accepts@1.2.13)
├── express@4.13.3 (escape-html@1.0.2, merge-descriptors@1.0.0, array-flatten@1. 1.1, cookie@0.1.3, utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.1, ran ge-parser@1.0.2, fresh@0.3.0, vary@1.0.1, path-to-regexp@0.1.7, etag@1.7.0, cont ent-type@1.0.1, parseurl@1.3.0, content-disposition@0.5.0, serve-static@1.10.0, depd@1.0.1, finalhandler@0.4.0, on-finished@2.3.0, qs@4.0.0, debug@2.2.0, proxy- addr@1.0.8, send@0.13.0, accepts@1.2.13, type-is@1.6.9)
├── body-parser@1.14.0 (bytes@2.1.0, content-type@1.0.1, depd@1.1.0, on-finished @2.3.0, http-errors@1.3.1, debug@2.2.0, qs@5.1.0, type-is@1.6.9, iconv-lite@0.4. 11, raw-body@2.1.4)
├── swig@1.4.2 (optimist@0.6.1, uglify-js@2.4.24)
└── mongodb@2.0.43 (readable-stream@1.0.31, es6-promise@2.1.1, mongodb-core@1.2. 12)
root@luck-cs:~# reboot
root@luck-cs:~#
Broadcast message from root@luck-cs
(/dev/pts/1) at 14:58 ...



После чего обновил . Шел по пути /usr/local/lib , но здесь увидел папку python 2.7. Решил содать каталог nodemodules и mong-express самостаятельно . Туда кинул файл config и изменил как все указано . Но на в бд не заходит , даже не грузит эту страницу .
Вот второй лог пати :
login as: root
root@82.146.43.58's password:
Linux luck-cs 2.6.32-042stab108.1 #1 SMP Thu Apr 23 19:17:11 MSK 2015 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Oct 22 14:55:08 2015 from 95-55-40-206.dynamic.avangarddsl.ru
root@luck-cs:~# (forever start --uid "mongo" -a usr/local/lib/node modules/mongo-express/app.js
Бот у меня в папке root а далее папка bot
пытаюсь запустить его cd root/bot
Но база также как будто и не сущетсвет . Пробывал изменять в конфиге порт на 8089

Буду благодарен если вы поможете
Успеха в решении проблемы :)
 
Сверху