[对教程的求助].............
referring to http://www.gebi1.com/forum.php?mod=viewthread&tid=11694我在云空间上面先是安装了rtorrent,再按照这篇教程安装rutorrent。
可是装到最后出现了错误,好像安装失败了,求助大神们,以下是错误代码
Installing Apache
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
gzip is already the newest version.
logrotate is already the newest version.
openssl is already the newest version.
openssl set to manually installed.
php5-cli is already the newest version.
The following packages were automatically installed and are no longer required:
libconsole libmysqlclient16 libpq5 console-tools mysql-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libconsole libmysqlclient16 libpq5 console-tools mysql-common
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
php5-geoip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.1 kB of archives.
After this operation, 94.2 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ squeeze/main php5-geoip amd64 1.0.7-2
Fetched 12.1 kB in 0s (26.3 kB/s)
Selecting previously deselected package php5-geoip.
(Reading database ... 34439 files and directories currently installed.)
Unpacking php5-geoip (from .../php5-geoip_1.0.7-2_amd64.deb) ...
Setting up php5-geoip (1.0.7-2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
unrar is already the newest version.
The following packages were automatically installed and are no longer required:
libconsole libmysqlclient16 libpq5 console-tools mysql-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libconsole libmysqlclient16 libpq5 console-tools mysql-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apache2.2-bin apache2.2-common libaprutil1-dbd-sqlite3 libaprutil1-ldap
ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom php-pear openssl-blacklist
The following NEW packages will be installed:
apache2-mpm-prefork apache2.2-bin apache2.2-common libapache2-mod-php5
libaprutil1-dbd-sqlite3 libaprutil1-ldap php5 ssl-cert
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,859 kB of archives.
After this operation, 14.9 MB of additional disk space will be used.
Get:1 http://security.debian.org/ squeeze/updates/main libapache2-mod-php5 amd64 5.3.3-7+squeeze9
Get:2 http://ftp.debian.org/debian/ squeeze/main libaprutil1-dbd-sqlite3 amd64 1 .3.9+dfsg-5
Get:3 http://ftp.debian.org/debian/ squeeze/main libaprutil1-ldap amd64 1.3.9+df sg-5
Get:4 http://ftp.debian.org/debian/ squeeze/main apache2.2-bin amd64 2.2.16-6+sq ueeze7
Get:5 http://security.debian.org/ squeeze/updates/main php5 all 5.3.3-7+squeeze9
Get:6 http://ftp.debian.org/debian/ squeeze/main apache2.2-common amd64 2.2.16-6 +squeeze7
Get:7 http://ftp.debian.org/debian/ squeeze/main apache2-mpm-prefork amd64 2.2.1 6-6+squeeze7
Get:8 http://ftp.debian.org/debian/ squeeze/main ssl-cert all 1.0.28
Fetched 4,859 kB in 2s (2,079 kB/s)
Preconfiguring packages ...
Selecting previously deselected package libaprutil1-dbd-sqlite3.
(Reading database ... 34446 files and directories currently installed.)
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.3.9+dfsg-5 _amd64.deb) ...
Selecting previously deselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.3.9+dfsg-5_amd64.deb) .. .
Selecting previously deselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.16-6+squeeze7_amd64.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.16-6+squeeze7_amd64.de b) ...
Selecting previously deselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.16-6+squeeze7_am d64.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.3.3-7+squeeze9_amd 64.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../php5_5.3.3-7+squeeze9_all.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Processing triggers for man-db ...
Setting up libaprutil1-dbd-sqlite3 (1.3.9+dfsg-5) ...
Setting up libaprutil1-ldap (1.3.9+dfsg-5) ...
Setting up apache2.2-bin (2.2.16-6+squeeze7) ...
Setting up apache2.2-common (2.2.16-6+squeeze7) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-prefork (2.2.16-6+squeeze7) ...
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for debian
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "start" failed.
Setting up libapache2-mod-php5 (5.3.3-7+squeeze9) ...
Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2Setting up php5 (5.3.3-7+squeeze9) ...
Setting up ssl-cert (1.0.28) ...
hostname: Name or service not known
make-ssl-cert: Could not get FQDN, using "debian".
make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run
make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite
make-ssl-cert: again.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libconsole libmysqlclient16 libpq5 console-tools mysql-common
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libapache2-mod-scgi
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.6 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ squeeze/main libapache2-mod-scgi amd64 1.13- 1+b1
Fetched 14.6 kB in 0s (23.7 kB/s)
Selecting previously deselected package libapache2-mod-scgi.
(Reading database ... 34997 files and directories currently installed.)
Unpacking libapache2-mod-scgi (from .../libapache2-mod-scgi_1.13-1+b1_amd64.deb) ...
Setting up libapache2-mod-scgi (1.13-1+b1) ...
Detecting timezone...
Timezone: America/New_York
Creating the self-signed certificate.
Generating a 1024 bit RSA private key
......................................++++++
............................................++++++
writing new private key to '/etc/apache2/rutorrent.pem'
-----
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Enabling module scgi.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Module auth_basic already enabled
Site default disabled.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Site default-ssl already disabled
Enabling site rutorrent.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Restarting web server: apache2(98)Address already in use: make_sock: could not b ind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
***ERROR***
Could not start apache
***ERROR***
Help forum: http://sourceforge.net/apps/phpbb/autodl-irssi/
You have new mail in /var/mail/root
root@debian:~#
代码中的 颜色都是命令行窗口里面的实际颜色…… 云空间? goldenthumb 发表于 2012-5-17 11:49 static/image/common/back.gif
云空间?
嗯 怎么看出来的? nml 发表于 2012-5-17 11:50 static/image/common/back.gif
嗯 怎么看出来的?
第二行不是说了吗{:1_81:} 都是英文,nml太给力了,膜拜下 哪个云空间?我也去试一下 goldenthumb 发表于 2012-5-17 11:54 static/image/common/back.gif
哪个云空间?我也去试一下
hpcloud sgyanj_r4w 发表于 2012-5-17 11:51 static/image/common/back.gif
都是英文,nml太给力了,膜拜下
................不给力 端口已经被占用了,如果已经装了 appache , kill 掉 , ps -ef|grep appache 看进程号
=============
云空间多大? 好像是另一个服务正在使用80端口 看不懂啊,飘过。。。 goldenthumb 发表于 2012-5-17 12:20 static/image/common/back.gif
好像是另一个服务正在使用80端口
怎么样,你用上了吗?顺利吗? pudgala 发表于 2012-5-17 12:18 static/image/common/back.gif
端口已经被占用了,如果已经装了 appache , kill 掉 , ps -ef|grep appache 看进程号
=============
...
不知道大小啊
另外我对linux命令一窍不通
能不能多写点指导一下
不好意思谢谢啦! pudgala 发表于 2012-5-17 12:18 static/image/common/back.gif
端口已经被占用了,如果已经装了 appache , kill 掉 , ps -ef|grep appache 看进程号
=============
...
我给的那个帖子里面就说了端口被占用Port 80 is in use. If it's not used by apache, you may need to disable or
uninstall that other web server before continuing.
Port 443 is in use. If it's not used by apache, you may need to disable or
uninstall that other web server before continuing.可是教程里也没给解决办法 不知如何进行下去 还请赐教 端口重复了。
找到哪个进程占用了80端口,杀掉,再重启apache.
最简单的方法,重启一下服务器看看。 tank 发表于 2012-5-17 13:25 static/image/common/back.gif
端口重复了。
找到哪个进程占用了80端口,杀掉,再重启apache.
谢谢,刚刚重启了,可还是“ Port 443 is in use. If it's not used by apache, you may need to disable or
> uninstall that other web server before continuing.”
具体怎样查找并杀掉占用端口的程序指令、能不能指点一下~ tank 发表于 2012-5-17 13:25 static/image/common/back.gif
端口重复了。
找到哪个进程占用了80端口,杀掉,再重启apache.
对了 我之前按照另一个教程先装了rtorrent 是不是这个rtorrent和这个rutorrent有端口冲突?
我是用不来rtorrent才又装了rutorrent的,怎么办呢? 我删掉了这个server又重做了一个,教程里的三个命令进行到第三个的时候提示root@debian:~# sudo sh autodl-setup
-bash: sudo: command not found
nml 发表于 2012-5-17 13:27 static/image/common/back.gif
谢谢,刚刚重启了,可还是“ Port 443 is in use. If it's not used by apache, you may need to disable ...
命令你参考一下,如果看不懂。。。。找厂商帮忙吧
netstat -anp | grep 443 找到对应进程
killall 进程名
页:
[1]