thinkevd 发表于 2011-12-17 23:05:38

ubuntu的vm安装lnmp0.8,卡在ntpdate后面

安装过程:
Press any key to start...
rclibmysqlclient16                     5.1.58-1ubuntu1                         MySQL database client library
rcmysql-server-5.1                     5.1.58-1ubuntu1                         MySQL database server binaries and system database setup
dpkg: warning: there's no installed package matching libmysqlclient15off
dpkg: warning: there's no installed package matching libmysqlclient15-dev
dpkg: warning: there's no installed package matching mysql-common
dpkg: warning: there's no installed package matching apache2
dpkg: warning: there's no installed package matching apache2-doc
dpkg: warning: there's no installed package matching apache2-mpm-prefork
dpkg: warning: there's no installed package matching apache2-utils
dpkg: warning: there's no installed package matching apache2.2-common
dpkg: warning: there's no installed package matching php
Ign http://cn.archive.ubuntu.com oneiric InRelease
Ign http://cn.archive.ubuntu.com oneiric-updates InRelease                     
Ign http://cn.archive.ubuntu.com oneiric-backports InRelease                  
Hit http://cn.archive.ubuntu.com oneiric Release.gpg                           
Hit http://cn.archive.ubuntu.com oneiric-updates Release.gpg                  
Ign http://extras.ubuntu.com oneiric InRelease                                 
Ign http://archive.canonical.com oneiric InRelease                           
Hit http://cn.archive.ubuntu.com oneiric-backports Release.gpg      
Ign http://security.ubuntu.com oneiric-security InRelease                     
Hit http://cn.archive.ubuntu.com oneiric Release                              
Hit http://extras.ubuntu.com oneiric Release.gpg                              
Hit http://archive.canonical.com oneiric Release.gpg                           
Hit http://cn.archive.ubuntu.com oneiric-updates Release                     
Hit http://security.ubuntu.com oneiric-security Release.gpg                  
Hit http://cn.archive.ubuntu.com oneiric-backports Release                     
Hit http://extras.ubuntu.com oneiric Release                                 
Hit http://archive.canonical.com oneiric Release                              
Hit http://cn.archive.ubuntu.com oneiric/main Sources                        
Hit http://cn.archive.ubuntu.com oneiric/restricted Sources         
Hit http://cn.archive.ubuntu.com oneiric/universe Sources            
Hit http://security.ubuntu.com oneiric-security Release               
Hit http://cn.archive.ubuntu.com oneiric/multiverse Sources         
Hit http://cn.archive.ubuntu.com oneiric/main i386 Packages         
Hit http://cn.archive.ubuntu.com oneiric/restricted i386 Packages   
Hit http://cn.archive.ubuntu.com oneiric/universe i386 Packages      
Hit http://cn.archive.ubuntu.com oneiric/multiverse i386 Packages   
Hit http://cn.archive.ubuntu.com oneiric/main TranslationIndex      
Hit http://cn.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric/universe TranslationIndex   
Hit http://cn.archive.ubuntu.com oneiric-updates/main Sources         
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted Sources   
Hit http://cn.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse Sources            
Hit http://cn.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://extras.ubuntu.com oneiric/main Sources                              
Hit http://cn.archive.ubuntu.com oneiric-updates/universe TranslationIndex   
Hit http://cn.archive.ubuntu.com oneiric-backports/main Sources      
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted Sources         
Hit http://cn.archive.ubuntu.com oneiric-backports/universe Sources            
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse Sources         
Hit http://cn.archive.ubuntu.com oneiric-backports/main i386 Packages         
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted i386 Packages   
Hit http://archive.canonical.com oneiric/partner i386 Packages               
Hit http://cn.archive.ubuntu.com oneiric-backports/universe i386 Packages      
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://cn.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Sources                  
Hit http://cn.archive.ubuntu.com oneiric-backports/universe TranslationIndex   
Hit http://cn.archive.ubuntu.com oneiric/main Translation-en         
Hit http://cn.archive.ubuntu.com oneiric/multiverse Translation-en   
Hit http://cn.archive.ubuntu.com oneiric/restricted Translation-en   
Hit http://cn.archive.ubuntu.com oneiric/universe Translation-en   
Hit http://extras.ubuntu.com oneiric/main i386 Packages                        
Ign http://extras.ubuntu.com oneiric/main TranslationIndex                     
Hit http://cn.archive.ubuntu.com oneiric-updates/main Translation-en         
Hit http://cn.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://cn.archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.canonical.com oneiric/partner TranslationIndex            
Hit http://cn.archive.ubuntu.com oneiric-updates/universe Translation-en      
Hit http://cn.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://cn.archive.ubuntu.com oneiric-backports/multiverse Translation-en   
Hit http://cn.archive.ubuntu.com oneiric-backports/restricted Translation-en   
Hit http://cn.archive.ubuntu.com oneiric-backports/universe Translation-en   
Hit http://security.ubuntu.com oneiric-security/restricted Sources            
Hit http://security.ubuntu.com oneiric-security/universe Sources   
Hit http://security.ubuntu.com oneiric-security/multiverse Sources   
Hit http://security.ubuntu.com oneiric-security/main i386 Packages   
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_US         
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://archive.canonical.com oneiric/partner Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package php
apache2: no process found
Reading package lists... Done
Building dependency tree      
Reading state information... Done
ntpdate is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

thinkevd 发表于 2011-12-17 23:24:26

试了0.7

如下结果,ntpdate会出什么问题呢?locale的问题?
Reading package lists... Done
Building dependency tree      
Reading state information... Done
ntpdate is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17 Dec 23:22:38 ntpdate: ntpdate 4.2.6p2@1.2194 Fri Sep2 18:37:16 UTC 2011 (1)
Looking for host cn.pool.ntp.org and service ntp
host found : 114.80.81.1

thinkevd 发表于 2011-12-17 23:44:08

奇怪,在局域网内另一个独立主机上运行sudo ntpdate ntp.ubuntu.com,会得到正常结果。
但在这个虚拟机上就卡住。这还有区别?因为ntpdate导致lnmp不能安装。

thinkevd 发表于 2011-12-18 00:03:26

发现ntp在虚拟机上还真不是个简单的问题。我用的是virtualbox。
看来vps上用xen等软件是早就做了调整,但个人虚拟机用户该怎么办呢?

请军哥关注下?
http://chenlinux.com/tag/ntp

[ 本帖最后由 thinkevd 于 2011-12-18 01:01 编辑 ]

thinkevd 发表于 2011-12-18 01:07:33

解决的办法是打开ubuntu.sh(或其他的)
找到ntpdate,把上下的一共3行都注释掉再安装即可。
页: [1]
查看完整版本: ubuntu的vm安装lnmp0.8,卡在ntpdate后面