[Question] Lỗi yum trên ubuntu |
29/04/2012 20:14:34 (+0700) | #1 | 262185 |
|
sasser01052004
Member
|
0 |
|
|
Joined: 20/09/2010 01:27:29
Messages: 150
Location: /home/sasser
Offline
|
|
nó bị thế này:
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in <module>
import yummain
File "/usr/share/yum/yummain.py", line 22, in <module>
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in <module>
import rpm
ImportError: No module named rpm
Cái apache thì lại bị thế này:
/etc/init.d/apache2 start
* Starting web server apache2 (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
Các bạn giúp tớ với
|
|
Ask me why, don't ask me what. |
|
|
|
[Question] Lỗi yum trên ubuntu |
29/04/2012 20:24:19 (+0700) | #2 | 262186 |
hung2010
Member
|
0 |
|
|
Joined: 16/06/2011 09:49:06
Messages: 10
Offline
|
|
bạn chỉ cấp update lên rồi cài mấy chương trình hỗ trợ về là cài dc như win thôi. Ko pải lo lỗi j nữa hehe. |
|
|
|
|
[Question] Lỗi yum trên ubuntu |
29/04/2012 21:04:21 (+0700) | #3 | 262190 |
|
quanta
Moderator
|
Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
|
|
sasser01052004 wrote:
nó bị thế này:
Code:
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in <module>
import yummain
File "/usr/share/yum/yummain.py", line 22, in <module>
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in <module>
import rpm
ImportError: No module named rpm
Bạn đã dùng Ubuntu rồi sao không chơi `apt` mà lại xài `yum`, có lý do gì đặc biệt không?
sasser01052004 wrote:
Cái apache thì lại bị thế này:
Code:
/etc/init.d/apache2 start
* Starting web server apache2
(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
Nó chỉ bảo là "address already in use" thôi, thử `restart` thay vì `start` xem. |
|
Let's build on a great foundation! |
|
|
|
[Question] Lỗi yum trên ubuntu |
29/04/2012 21:09:33 (+0700) | #4 | 262191 |
|
sasser01052004
Member
|
0 |
|
|
Joined: 20/09/2010 01:27:29
Messages: 150
Location: /home/sasser
Offline
|
|
/etc/init.d/apache2 restart
* Restarting web server apache2 (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
[fail]
vẫn thế anh ơi |
|
Ask me why, don't ask me what. |
|
[Question] Lỗi yum trên ubuntu |
29/04/2012 21:10:01 (+0700) | #5 | 262192 |
|
sasser01052004
Member
|
0 |
|
|
Joined: 20/09/2010 01:27:29
Messages: 150
Location: /home/sasser
Offline
|
|
Cái yum em dùng trên centos quen luôn rồi
Dùng Apt-get không quen lắm
Mới lại hỏi cho biết cách để chữa ấy mà |
|
Ask me why, don't ask me what. |
|
|