please help about etch

2007-11-30 Thread chloe K
Hi 

I have 2 problems in etch

1/ I use this url to install apache2  
http://www.howtoforge.com/perfect_setup_debian_etch_p6
but don't know why port 443 is not working. https://ipaddress doesn't work but 
http://ipaddress is fine

the port 443 is listening in netstat -anp
Do I need to configure server.key and server.crt in it? which file?



2/ I follow the link 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html to compile the 
kernel. 2.6.18


final step dpkg -i ../linux-image-2.6.18_custom.1.0_i386.deb is ok too

When i boot up the new kernel, it said 

cannot open root device hda3 or unknow-block(0,0)
please append a correct root=boot option
kernel panic

I only change one to support large memory, other remains unchange
What wrong I did?

Thank you







   
-
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail  

Re: please help about etch

2007-11-30 Thread Owen Heisler
On Fri, 2007.11.30 16:22, chloe K wrote:
2/ I follow the link
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html to compile
the kernel. 2.6.18
 
final step dpkg -i ../linux-image-2.6.18_custom.1.0_i386.deb is ok too
 
When i boot up the new kernel, it said
 
cannot open root device hda3 or unknow-block(0,0)
please append a correct root=boot option
kernel panic
 
I only change one to support large memory, other remains unchange
What wrong I did?

It seems that you did not use the --initrd option of make-kpkg, which will 
cause an initrd to be created when the kernel package is installed (and grub 
will add the initrd line).

For this custom kernel you've already built and installed, you should be able 
to run update-initramfs -ck 2.6.18 (You may need the _custom.1.0 here too) 
and then update-grub to fix the problem.


signature.asc
Description: Digital signature


Re: please help about etch

2007-11-30 Thread strawks
Hello,

 1/ I use this url to install apache2
 http://www.howtoforge.com/perfect_setup_debian_etch_p6
 but don't know why port 443 is not working. https://ipaddress doesn't
 work but http://ipaddress is fine
 
 the port 443 is listening in netstat -anp
 Do I need to configure server.key and server.crt in it? which file?
 
Not an expert but you need a key and a certificate (even if self signed)
to make it work.

In my config :
SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key

I don't remember how to generate these files, google will tell you.

you may also need to add :
SSLSessionCache none
SSLSessionCacheTimeout 600

If you have more traffic than me with your server, you may want to setup
a proper ssl cache. (see
http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#sslsessioncache)

 
 2/ I follow the link
 http://kernel-handbook.alioth.debian.org/ch-common-tasks.html to
 compile the kernel. 2.6.18
 
 
 final step dpkg -i ../linux-image-2.6.18_custom.1.0_i386.deb is ok too
 
 When i boot up the new kernel, it said 
 
 cannot open root device hda3 or unknow-block(0,0)
 please append a correct root=boot option
 kernel panic
 
 I only change one to support large memory, other remains unchange
 What wrong I did?

Did you compile your kernel with initrd support?
If not either include support for your hard drive directly into the
kernel or add initrd support (option --initrd of make-kpkg).
If you already have support for initrd check that your boot loader
effectively load the correct initrd image.

regards,
strawks



signature.asc
Description: This is a digitally signed message part