发新话题
打印

我该怎么办???apache起动不起来了!!!!!!!

我该怎么办???apache起动不起来了!!!!!!!

[root@localhost ~]# /etc/init.d/httpd start
启动 httpd:(99)Cannot assign requested address: make_sock: could not bind to address 12.34.56.78:80
no listening sockets available, shutting down
Unable to open logs
                                                            [失败]
[root@localhost ~]#      

TOP

认真看一下你的出错信息,这个ip配置好了么?能在ifconfig里看到?网卡有问题么?      

TOP

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:984 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:542359 (529.6 KiB)  TX bytes:167813 (163.8 KiB)
          Interrupt:10 Base address:0xa000

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5333 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4916286 (4.6 MiB)  TX bytes:4916286 (4.6 MiB)

ppp0      Link encapoint-to-Point Protocol
          inet addr:222.132.135.66  P-t-P:221.1.191.50  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:773 errors:0 dropped:0 overruns:0 frame:0
          TX packets:806 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:445427 (434.9 KiB)  TX bytes:141985 (138.6 KiB)

[root@localhost ~]#

老大!!!以上是我的ifconfig不果我没设IP localhost  不就是马??      

TOP

发新话题