Re: trouble with install APACHE-SSL 1.3.290.2-2
Hi Andreas, there is a typo in the postinst that might be the reasons of all these troubles. -3 is on the way. Fabio On Tue, 9 Mar 2004, Andreas wrote: Hi there, Hi i just installed new apache-ssl 1.3.29.0.2-2 and can not enter into HTTPS site - i was use old config file ...and can`t i was there use auth files , group users ... and i stert experimet with new package first - remove /etc/apache-ssl/ and start install again and i get this : after enter some parametrs ... was started create pem certificate and ... Using configuration from /tmp/24251.req Generating a 1024 bit RSA private key .++ .++ writing new private key to '/etc/apache-ssl/apache.pem' /etc/apache-ssl/apache.pem: No such file or directory 24267:error:02001002:system library:fopen:No such file or directory:bss_file.c:245:fopen('/etc/apache-ssl/apache.pem','w') 24267:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: dpkg: error processing apache-ssl (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache-ssl E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~# ... and No such file or directory:bss_file.c:245:fopen('/etc/apache-ssl/apache.pem STart Second time and i was create /etc/apache-ssl the process of installing - has not finished success again has errors : Can't read /etc/apache-ssl/modules.conf No such file or directory Can't read /etc/apache-ssl/conf.d No such file or directory Can't read /etc/apache-ssl/modules.conf No such file or directory Can't read /etc/apache-ssl/conf.d No such file or directory Configuration syntax error detected. Not reloading. fopen: No such file or directory apache-ssl: could not open document config file /etc/apache-ssl/modules.conf invoke-rc.d: initscript apache-ssl, action start failed. dpkg: error processing apache-ssl (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache-ssl E: Sub-process /usr/bin/dpkg returned an error code (1) Start at third time : process to ¦ ¦ ¦ keep your currently-installed version ¦ ¦ install the package maintainer's version ¦ ¦ show the differences between the versions ¦ ¦ start a new shell to examine the situation¦ ¦ ¦ ¦ ¦ ¦Ok Cancel ¦ ¦ ¦
Re: trouble with install APACHE-SSL 1.3.290.2-2
Hi Andres, re-reading your mail... On Tue, 9 Mar 2004, Andreas wrote: Hi there, Hi i just installed new apache-ssl 1.3.29.0.2-2 and can not enter into HTTPS site - i was use old config file ...and can`t i was there use auth files , group users ... and i stert experimet with new package first - remove /etc/apache-ssl/ You shouldn't remove apache-ssl and apache-ssl/conf.d They are configuration directories shipped with the package and apache-ssl expect them to be there. On the other side you can remove all the files inside them. and start install again and i get this : after enter some parametrs ... was started create pem certificate and ... Using configuration from /tmp/24251.req Generating a 1024 bit RSA private key .++ .++ writing new private key to '/etc/apache-ssl/apache.pem' /etc/apache-ssl/apache.pem: No such file or directory This is a consenquence of the above. STart Second time and i was create /etc/apache-ssl the process of installing - has not finished success again has errors : Can't read /etc/apache-ssl/modules.conf [SNIP] These files are created with a certain order during the installation. If you try the second time it might cause this problem because it results to be an upgrade and not an installation (and the postinst behave differently). and get thie : Replacing config file /etc/apache-ssl/modules.conf with new version cp -f /etc/apache-ssl/modules.conf.dpkg-inst.queue /etc/apache-ssl/modules.conf Can't read /etc/apache-ssl/conf.d No such file or directory Can't read /etc/apache-ssl/conf.d No such file or directory Configuration syntax error detected. Not reloading. Same as the first problem. httpd.conf has an Include for conf.d that if it is not there fails. Either you comment it out from httpd.conf or you create the directory. try at 4 time : now i was create /etc/apache-ssl/conf.d/ dir and now all is ok i get Starting web server: apache-ssl. so ? what u think ? so installing is realy good ? i do not think so ... The major issue is that you removed apache-ssl in the beginning but yes i agree that can be improved to be more user experimentation safe. Fabio -- user fajita: step one fajita Whatever the problem, step one is always to look in the error log. user fajita: step two fajita When in danger or in doubt, step two is to scream and shout.
trouble with install APACHE-SSL 1.3.290.2-2
Hi there, Hi i just installed new apache-ssl 1.3.29.0.2-2 and can not enter into HTTPS site - i was use old config file ...and can`t i was there use auth files , group users ... and i stert experimet with new package first - remove /etc/apache-ssl/ and start install again and i get this : after enter some parametrs ... was started create pem certificate and ... Using configuration from /tmp/24251.req Generating a 1024 bit RSA private key .++ .++ writing new private key to '/etc/apache-ssl/apache.pem' /etc/apache-ssl/apache.pem: No such file or directory 24267:error:02001002:system library:fopen:No such file or directory:bss_file.c:245:fopen('/etc/apache-ssl/apache.pem','w') 24267:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:247: dpkg: error processing apache-ssl (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache-ssl E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~# ... and No such file or directory:bss_file.c:245:fopen('/etc/apache-ssl/apache.pem STart Second time and i was create /etc/apache-ssl the process of installing - has not finished success again has errors : Can't read /etc/apache-ssl/modules.conf No such file or directory Can't read /etc/apache-ssl/conf.d No such file or directory Can't read /etc/apache-ssl/modules.conf No such file or directory Can't read /etc/apache-ssl/conf.d No such file or directory Configuration syntax error detected. Not reloading. fopen: No such file or directory apache-ssl: could not open document config file /etc/apache-ssl/modules.conf invoke-rc.d: initscript apache-ssl, action start failed. dpkg: error processing apache-ssl (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: apache-ssl E: Sub-process /usr/bin/dpkg returned an error code (1) Start at third time : process to keep your currently-installed version install the package maintainer's version show the differences between the versions start a new shell to examine the situation Ok Cancel L-- choose : install the package maintainer's version and get thie : Replacing config file /etc/apache-ssl/modules.conf with new version cp -f