Author Topic: MSS更新baoyinet105.ipk后的问题  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

jizong

  • Guest
MSS更新baoyinet105.ipk后的问题
« on: June 27, 2009, 06:06:12 pm »
我的MSS有点问题,3322的问题
我更新了baoyinet105.ipk,解决了3322的问题
但是,新问题,又出来了

1、Debian不能自己启动了!
   每次用SecureCRT连接到MSS的时候,出现的都是:
Code: [Select]
********************************************
* W e l c o m e  t o  O p e n M S S . C N  *
*                                          *
*                   http://www.openMSS.CN  *
*                       openmss@gmail.com  *
********************************************


BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

2、SSH的问题
   手动启动Debian后,用/etc/init.d/ssh start 启动SSH,则显示:
   Starting OpenBSD Secure Shell server: sshd.
    但是,链接时,就是问题1的表现形式!

3、手动启动Debian后,lighttpd出现问题,不能正常启动了
   /var/log/lighttpd下的error.log内容是:

Code: [Select]
sh-3.1# vi error.log

error.log: unmodified: line 1tcgi.c.1029) the fastcgi-backend /usr/bin/php-cgi f

2009-05-31 02:22:45: (mod_fastcgi.c.1033) child exited with status 127 /usr/bin/

2009-05-31 02:22:45: (mod_fastcgi.c.1036) If you're trying to run PHP as a FastC

You can find out if it is the right one by executing 'php -v' and it should disp

For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI

#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to th
2009-05-31 02:22:45: (server.c.908) Configuration of plugins failed. Going down.



2009-06-01 05:37:38: (server.c.1475) server stopped by UID = 0 PID = 4501


    php -v 显示正常!


请大侠给予指点!谢谢

wugi

  • Administrator
  • Newbie
  • *****
  • Posts: 44
回覆: MSS更新baoyinet105.ipk后的问题
« Reply #1 on: June 29, 2009, 01:50:23 pm »
經過分析及討論之後, 問題是出在於baoyinet105.ipk 有包含內建的SSHh server, 所以你進入Debian啟動了SSH, 但是SSH其實並未真正的啟動, 還是原來firmware的SSH.

在 baoyinet105.ipk 中有包含 dropbear, dropbear 是一個小型的ssh server, 所以會跟Debian中的OpenSSH佔用同樣的Port.

所以要解決SSH登入還是在Openmss的問題....只要先kill它再執行就行了.
另外在openmss上有個 setser 的命令, 用它把內建的dropbear設成關閉

Code: [Select]
setser dropbear 0
另外lighttpd的問題, 原本的openmss內有啟動一個webui的httpd,也是用了80 port,所以為了避掉這個問題, 可以先把lighttpd的port改掉, 或是強制讓openmss內的httpd為關閉的狀態..

希望對於你有幫助 :)
« Last Edit: June 29, 2009, 01:54:41 pm by wugi »

 

anything