Errors on Build Your Own Debian/Ubuntu LAMP Server

Discussion in 'Installation/Configuration' started by ngungo, Mar 9, 2007.

  1. ngungo

    ngungo New Member

    :)
    Morning!

    I found this: http://www.howtoforge.com/ubuntu_debian_lamp_server and followed its instructions. The first one apt-get install update is OK. I got stuck at the second one, apt-get install apache2 php4 libapache2-mod-php4
    Code:
    Err http://ftp.us.debian.org stable/main libkrb53 1.3.6-2
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main perl-modules 5.8.4-8
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main perl 5.8.4-8
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main libapr0 2.0.54-4
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main apache2-utils 2.0.54-4
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main lynx 2.8.5-2
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main apache-common 1.3.33-6
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main openssl 0.9.7e-3
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main apache2-common 2.0.54-4
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main apache2-mpm-prefork 2.0.54-4
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main apache2 2.0.54-4
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main php4-common 4:4.3.10-15
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main libapache-mod-php4 4:4.3.10-15
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main libapache2-mod-php4 4:4.3.10-15
      404 Not Found [IP: 128.101.240.212 80]
    Err http://ftp.us.debian.org stable/main php4 4:4.3.10-15
      404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/k/krb5/libkrb53_1.3.6-2_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/perl/perl-modules_5.8.4-8_all.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/perl/perl_5.8.4-8_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache2/libapr0_2.0.54-4_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2-utils_2.0.54-4_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/l/lynx/lynx_2.8.5-2_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache/apache-common_1.3.33-6_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssl/openssl_0.9.7e-3_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2-common_2.0.54-4_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2-mpm-prefork_2.0.54-4_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/a/apache2/apache2_2.0.54-4_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/php4/php4-common_4.3.10-15_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/php4/libapache-mod-php4_4.3.10-15_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/php4/libapache2-mod-php4_4.3.10-15_i386.deb  404 Not Found [IP: 128.101.240.212 80]
    Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/php4/php4_4.3.10-15_all.deb  404 Not Found [IP: 128.101.240.212 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    li15-178:~#
    Question: Am I on the right direction? Just that the ftp site is down for the moment, and I should try it again in later time?
    Any hint is appreciated!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the site is currently down or did not mirror the packages anymore. Please run:

    apt-get update

    and try again. If it still fails, you may wait a bit or use another mirror in /etc/apt/sources.list.
     
  3. ngungo

    ngungo New Member

    Hi Till,

    Thank you very much. I've been suffering for 2 days now. Thank you so much.
    I have 2 questions now.

    1. I could not install php5 due to:
    Code:
    li15-178:~# apt-get install apache2 php5 libapache2-mod-php5
    Reading Package Lists... Done
    Building Dependency Tree... Done
    apache2 is already the newest version.
    Package php5 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package php5 has no installation candidate
    li15-178:~#
    . Any suggestion?

    2. I need to install FTP, so here I found: http://www.mysql-apache-php.com/#ftpserver . Am I on the right direction?

    Thanks again!
     
  4. ngungo

    ngungo New Member

    I tried to install the ftp server, it seems there and run but I can not connected. Like I kind confused about what username and password I should use. Is there to look at what user name is and how to reset the password. How about user root, and what is its password?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    PHP5 is not available for Debian Sarge. You could try to install it from backports.org or dotdeb.org.

    What's the output of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
    ?
    It's the same password you use to log in as root on the shell. But normally root isn't allowed to log in to FTP.
     
  6. ngungo

    ngungo New Member

    Thanks for your kindness. I appreciate your help.
     

Share This Page