请问花生壳为什么不能正常使用
Peanuthull Linux-core 1.0 by oray.net, copyright 2005Peanuthull Linux-core Interactive startup.
Please input service address(press ENTER use 192.168.1.3):
Note: Server address will automatically be retrieved by webservice!
this is just a backup address while you cannot connect webservice.
Please input server address(press ENTER use 61.145.112.210):
Please input username(press ENTER use ppbbgg110):
Please input password:
Save to configuration file (/etc/phlinux.conf)?(yes/no): yes
Save to configuration file failed!
Save to configuration file (/etc/phlinux.conf)?(yes/no): su
2006/07/22 22:33:12.016| Error open log file: /var/log/phlinux.log
Log /var/log/phlinux.log opened.
2006/07/22 22:33:12.016| httpd listensock BIND failed.
2006/07/22 22:33:12.016| Httpd::init failed
2006/07/22 22:33:12.016| phStart failed!
2006/07/22 22:33:12.016| Please check if your port 6160/TCP for MiniHttp is open!
# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.3:49219 192.168.1.3:6160 TIME_WAIT
tcp 0 0 192.168.1.3:49220 192.168.1.3:6160 TIME_WAIT
tcp 0 0 58.49.143.94:38765 219.133.62.10:http
发现SU下保存不了配置表。我用的是REDHAT的版本 我的能正常使用啊,你是用hub组成局域网里吧,花生壳需要把合法的ip地址传到它的服务器上,192.........只是局域网使用的,在外网中无效,所以要把自已的80号duan口映射到这个局域网的外网ip上. 另外要以root来运行phlinux
Save to configuration file (/etc/phlinux.conf)?(yes/no): yes
Save to configuration file failed! 谢谢。我是ADSL个人用户。
还有
#
我是用的root用户 :P
我改成外网的IP也不不行呀。我没路由器。再说我是用计算机拨号。 你是怎么映射的呀。谢谢告诉 我。
ROOT也是:
Save to configuration file (/etc/phlinux.conf)?(yes/no): yes
Log /var/log/phlinux.log opened.
2006/07/23 07:12:16.497| phStart failed!
2006/07/23 07:12:16.497| Please check if your port 6160/TCP for MiniHttp is open!
2006/07/23 07:12:16.497| or you can choose not to start it by editing config file.
2006/07/23 07:12:16.497| phlinux start with ppbbgg110/****** failed.
配置文件保存不了呀?
郁闷。 iptables -A FORWARD -i eth0 -s 192.168.1.3 -p tcp --sport 80 -m --state ESTABLISHED -j ACCEPT
iptables -t nat -A POSTROUTING -d 192.168.1.3 -p tcp --dport 80 -j SNAT --to 192.168.1.1
iptables -A FORWARD -o eth0 -d 192.168.1.3 -p tcp --dport 80 -j ACCEPT
iptables -A FORWARD -i eth0 -s 192.168.1.3-p tcp --sport 80 -m --state ESTABLISHED -j ACCEPT
这样我怎么不行啊 。
下面是我的phlinux.conf配置文件
szHost = 61.145.112.210
szServiceHost = 58.49.140.111
szUserID = ppbbgg110
szUserPWD = ********
nUserType = 0
bStartMiniHttp = 1
httproot = /usr/local/phlinux/webadmin
runas =
file = /var/log/phlinux.log
level = 1
我把防火墙都 disable了。 映射那个貌似要在路由器里设置
在线等。。。。。。。。。。。。。。。。。。。!!
大哥,我用的ADSL。。。。。。。希望大家多我发表呀。 这是我的配置文件:
$ cat /etc/phlinux.conf
szHost = PH031.Oray.Net
szServiceHost = phservice2.oray.net
szUserID = tttt
szUserPWD = ********
nUserType = 0
bStartMiniHttp = 1
httproot = /usr/local/phlinux/webadmin
runas =
file = /var/log/phlinux.log
level = 1
我也是adsl,武汉电信的,然后接了个mr804的路由器,4个口,带了4台电脑,路由器里面内嵌了一个操作系统,到里面设置端口映射.
如果你中间没有用路由器,而是电脑直接接到adsl口上,我认为应该没问题的啊. 不对,和端口映射好象无关,我把端口映射取消后,运得phlinux也成功了,并且不是用的root帐户,
看来你这还得寻找其它方面的原因了.下面是我用普通帐户重新启动phlinux时的信息.
Peanuthull Linux-core 1.0 by oray.net, copyright 2005
2006/07/23 09:57:50.283| Error open log file: /var/log/phlinux.log
Log /var/log/phlinux.log opened.
2006/07/23 09:57:50.284| Mini-httpd started.
2006/07/23 09:57:50.284| phlinux started with oatt/******.
2006/07/23 09:57:50.284| Init phservice2.oray.net with user oatt/******
$ 2006/07/23 09:57:50.369| Initservice OK!
2006/07/23 09:57:50.369| Soapinvoke begined with url: /userinfo.asmx/GetMiscInfo
2006/07/23 09:57:50.646| RESULT_NODE: GetMiscInfoResponse, , PID: -1
2006/07/23 09:57:50.646| RESULT_NODE: GetMiscInfoResult, 0, PID: 0
2006/07/23 09:57:50.646| RESULT_NODE: misc, , PID: 0
2006/07/23 09:57:50.646| RESULT_NODE: LastClientVersion, 3.6.1.2, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: PHDownLoadPageUrl, http://www.oray.net/peanuthull/down/PeanutHull3.6.1.2_Setup.exe, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: ClientIP, 58.48.190.212, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: PHServer, PH031.Oray.Net, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: ADPageUrl, http://www.oray.net/PHClient/Today.asp, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: PeanutBaPageUrl, http://www.oray.net/PHClient/PeanutBar.asp, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: NoticePageUrl, http://www.oray.net/PHClient/Alert.asp, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: UserType, 0, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: EnableCnChildAdd, 0, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: CnAddChildPrompt, 鐢变簬鍩熷悕绠$悊鏈烘瀯鐨勫師鍥狅紝涓?枃瀛愬煙鍚嶈繕涓嶈兘鏀?寔鍩熷悕瑙f瀽, PID: 2
2006/07/23 09:57:50.646| RESULT_NODE: DomainQueryUrl, http://goto.oray.net/domain/ph31.php, PID: 2
2006/07/23 09:57:50.646| Save config failed, please check file permissions!
2006/07/23 09:57:50.646| ExecuteUpdate Connecting PH031.Oray.Net.
2006/07/23 09:57:50.795| SEND AUTH REQUEST COMMAND...2006/07/23 09:57:50.795| OK.
2006/07/23 09:57:50.843| SERVER SIDE KEY "334 OjC+1ARxp9nCRH0ZzTnAcw==" RECEIVED.
2006/07/23 09:57:50.843| SEND AUTH DATA...2006/07/23 09:57:50.843| OK
2006/07/23 09:57:50.895| ExecuteUpdate domain "oatt.xicp.net"
2006/07/23 09:57:50.895| ExecuteUpdate domain "."
2006/07/23 09:57:50.895| SEND CNFM DATA...2006/07/23 09:57:50.895| OK
2006/07/23 09:57:50.941| ExecuteUpdate 250 Register successfully
2006/07/23 09:57:51.024| 250 -1481522444 1459636060
2006/07/23 09:57:51.024| ExecuteUpdate nChatID:-1481522444, nStartID:1459636060
2006/07/23 09:57:51.024| SEND QUIT COMMAND...2006/07/23 09:57:51.024| OK.
2006/07/23 09:57:51.072| 221 Good bye
2006/07/23 09:57:51.072| ExecuteUpdate OK, BeginKeepAlive!
$ 2006/07/23 09:58:52.324| SendKeepAlive() 10
2006/07/23 09:58:53.328| RecvKeepaliveResponse() Data comes, OPCODE:50
2006/07/23 09:58:53.328| Keepalive response received, client ip: 58.48.190.212 你可以看看你的提示信息中给出的那些文件是不是可写的,
记到当初我第一次运行phlinux时好象也没成功,后来好象改了个什么东西,就成了.
时间太长了,具体情况记不得了. 我也是武汉 电信的ADSL用的华为MT800,,,,,,是不是phlinux的版本问题,我用的REDHAT的
对了。我发现了一个问题,我的花生壳账户能登论坛,不能上控制台
你能上控制台吗?你用的是路由器的端口映射吧。。。。。我在学校也是用的那种方法。。 问题解决。
Runing phlinux for first configuration...
Peanuthull Linux-core 1.0 by oray.net, copyright 2005
Peanuthull Linux-core Interactive startup.
Please input service address(press ENTER use phservice2.oray.net):
Note: Server address will automatically be retrieved by webservice!
this is just a backup address while you cannot connect webservice.
Please input server address(press ENTER use PH031.Oray.Net):
Please input username(press ENTER use ppbbgg110):
Please input password:
Save to configuration file (/etc/phlinux.conf)?(yes/no): yes
Log /var/log/phlinux.log opened.
2006/07/23 17:53:14.494| Init phservice2.oray.net with user ppbbgg110/******
2006/07/23 17:53:14.610| Initservice OK!
2006/07/23 17:53:14.610| Soapinvoke begined with url: /userinfo.asmx/GetMiscInfo
2006/07/23 17:53:14.799| RESULT_NODE: GetMiscInfoResponse, , PID: -1
2006/07/23 17:53:14.799| RESULT_NODE: GetMiscInfoResult, 0, PID: 0
2006/07/23 17:53:14.799| RESULT_NODE: misc, , PID: 0
2006/07/23 17:53:14.799| RESULT_NODE: LastClientVersion, 3.6.1.2, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: PHDownLoadPageUrl, http://www.oray.net/peanuthull/down/PeanutHull3.6.1.2_Setup.exe, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: ClientIP, 58.49.142.48, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: PHServer, PH031.Oray.Net, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: ADPageUrl, http://www.oray.net/PHClient/Today.asp, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: PeanutBaPageUrl, http://www.oray.net/PHClient/PeanutBar.asp, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: NoticePageUrl, http://www.oray.net/PHClient/Alert.asp, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: UserType, 0, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: EnableCnChildAdd, 0, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: CnAddChildPrompt, 鐢变簬鍩熷悕绠$悊鏈烘瀯鐨勫師鍥狅紝涓?枃瀛愬煙鍚嶈繕涓嶈兘鏀?寔鍩熷悕瑙f瀽, PID: 2
2006/07/23 17:53:14.799| RESULT_NODE: DomainQueryUrl, http://goto.oray.net/domain/ph31.php, PID: 2
2006/07/23 17:53:14.799| ExecuteUpdate Connecting PH031.Oray.Net.
2006/07/23 17:53:14.966| SEND AUTH REQUEST COMMAND...2006/07/23 17:53:14.966| OK.
2006/07/23 17:53:15.021| SERVER SIDE KEY "334 OjGOMIfjrEjDRAZkW2odLQ==" RECEIVED.
2006/07/23 17:53:15.021| SEND AUTH DATA...2006/07/23 17:53:15.021| OK
2006/07/23 17:53:15.140| ExecuteUpdate domain "wuhanyx.vicp.net"
2006/07/23 17:53:15.140| ExecuteUpdate domain "wuhanyx.xicp.net"
2006/07/23 17:53:15.140| ExecuteUpdate domain "ppbbgg110.vicp.net"
2006/07/23 17:53:15.140| ExecuteUpdate domain "wuhanyx.eicp.net"
2006/07/23 17:53:15.140| ExecuteUpdate domain "wuhanyx.oicp.net"
2006/07/23 17:53:15.140| ExecuteUpdate domain "."
2006/07/23 17:53:15.140| SEND CNFM DATA...2006/07/23 17:53:15.140| OK
2006/07/23 17:53:15.196| ExecuteUpdate 250 Register successfully
2006/07/23 17:53:15.290| ExecuteUpdate 250 Register successfully
2006/07/23 17:53:15.290| ExecuteUpdate 250 Register successfully
2006/07/23 17:53:15.290| ExecuteUpdate 250 Register successfully
2006/07/23 17:53:15.290| ExecuteUpdate 250 Register successfully
2006/07/23 17:53:15.290| 250 282526067 1144312352
2006/07/23 17:53:15.290| ExecuteUpdate nChatID:282526067, nStartID:1144312352
2006/07/23 17:53:15.290| SEND QUIT COMMAND...2006/07/23 17:53:15.290| OK.
2006/07/23 17:53:15.345| 221 Good bye
2006/07/23 17:53:15.345| ExecuteUpdate OK, BeginKeepAlive!
2006/07/23 17:54:16.604| SendKeepAlive() 10
2006/07/23 17:54:17.608| RecvKeepaliveResponse() Data comes, OPCODE:50
2006/07/23 17:54:17.608| Keepalive response received, client ip: 58.49.142.48
2006/07/23 17:55:17.876| SendKeepAlive() 10
2006/07/23 17:55:18.881| RecvKeepaliveResponse() Data comes, OPCODE:50
2006/07/23 17:55:18.881| Keepalive response received, client ip: 58.49.142.48 怎么解决的?
页:
[1]
2