From: Paolo on
Hi everybody,
I've followed metalink notes to switch SSL port to 443.

The problem is that oracle support told me to change the permission of
Apache listener controller in this way :

>chmod 6750 /oracle/product/10gAS/Apache/Apache/bin/.apachectl
>chown root /oracle/product/10gAS/Apache/Apache/bin/.apachectl

but it doesn't work (I' ve this error : Permission denied: make_sock:
could not bind to port 443)


otherwise this way works well :

>chmod 6750 /oracle/product/10gAS/Apache/Apache/bin/.apachectl
>chown root /oracle/product/10gAS/Apache/Apache/bin/.apachectl
>chown root /oracle/product/10gAS/Apache/Apache/bin/httpd
>chmod 6750 /oracle/product/10gAS/Apache/Apache/bin/httpd

the only problem is that changing httpd owner I can't manage anymore
from Oracle Enterprise Manager ,
for example if I try to deploy an application I'll find this error :

An error occured while undeploying the application. See base exception
for
details.
Root Cause: Configuration changes prevented server startup. ld.so.1:
httpd:
fatal: libdms2.so: open failed: No such file or directory
Killed
Resolution: See base exception for details.. Configuration changes
prevented
server startup. ld.so.1: httpd: fatal: libdms2.so: open failed: No
such file or
directory
Killed
Resolution: Please make sure the values entered in OHS configuration
files are

some helps ?

thank you

From: frank.van.bortel on
On 20 feb, 11:02, "Paolo" <paolo.iozz...(a)yahoo.it> wrote:
> Hi everybody,
> I've followed metalink notes to switch SSL port to 443.
>
> The problem is that oracle support told me to change the permission of
> Apache listener controller in this way :
>
> >chmod 6750 /oracle/product/10gAS/Apache/Apache/bin/.apachectl
> >chown root /oracle/product/10gAS/Apache/Apache/bin/.apachectl
>
> but it doesn't work (I' ve this error : Permission denied: make_sock:
> could not bind to port 443)
>

Do you start as root?

From: Paolo Iozzino on

I use oracle user to start Apache but httpd take "root user" :

oracle 1556 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1486 1384 0 Feb 06 ? 0:40 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1559 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1405 1384 0 Feb 06 ? 0:41 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1793 1537 0 Feb 06 ? 0:28 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 26803 1537 0 Feb 06 ? 0:28 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
root 1399 1384 0 Feb 06 ? 7:44 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 26810 1537 0 Feb 06 ? 0:28 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 25130 14133 0 14:01:45 pts/6 0:00 grep httpd
oracle 1402 1384 0 Feb 06 ? 0:44 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1557 1537 0 Feb 06 ? 0:27 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1406 1384 0 Feb 06 ? 0:41 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1396 1384 0 Feb 06 ? 0:00 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1558 1537 0 Feb 06 ? 0:28 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1407 1384 0 Feb 06 ? 0:39 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 3086 1384 0 Feb 06 ? 0:38 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
root 1384 24956 0 Feb 06 ? 0:01 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1404 1384 0 Feb 06 ? 0:42 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
root 1555 1537 1 Feb 06 ? 8:24 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1400 1384 0 Feb 06 ? 0:43 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
root 1537 25107 0 Feb 06 ? 0:02 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1560 1537 0 Feb 06 ? 0:28 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1403 1384 0 Feb 06 ? 0:42 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1550 1537 0 Feb 06 ? 0:00 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1756 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 4197 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1569 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
oracle 1401 1384 0 Feb 06 ? 0:41 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
oracle 1719 1384 0 Feb 06 ? 0:39 /oracle/product/ias/
Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach


ls -altr /oracle/product/10gAS/Apache/Apache/bin/

-rwxr-xr-x 1 oracle dba 1698 May 16 2003 tcpset.sh
-rwxr-xr-x 1 oracle dba 2701 May 16 2003 stopJsv.bat
-rwxr-xr-x 1 oracle dba 2708 May 16 2003 startJsv.bat
-rwxr-xr-x 1 oracle dba 4761 May 16 2003
log_server_status.tmp
-rwxr-xr-x 1 oracle dba 6463 May 16 2003 dbmmanage.tmp
-rwxr-xr-x 1 oracle dba 20913 May 16 2003 apxs.tmp
-rwxr-xr-x 1 oracle dba 1317 May 16 2003 iasobf.tmp
-rwxr-xr-x 1 oracle dba 334 Aug 29 2003
root_sh_append.sh.tmp
-rwxr-xr-x 1 oracle dba 12056 Sep 15 2003 apachectl.tmp
-rwxr-xr-x 1 oracle dba 818 Nov 13 2003 ssotransfer
-rwxr-xr-x 1 oracle dba 203 Nov 13 2003 listversion
-rwxr-xr-x 1 oracle dba 655 Nov 13 2003 ssl2ossl.tmp
-rwxr-xr-x 1 oracle dba 589 Nov 13 2003 pconvert.tmp
-rwsr-s--- 1 root dba 13059264 Apr 25 2004 ssomigrate
-rwxr-x--- 1 oracle dba 16060 Apr 25 2004 apobfuscate
-rwsr-sr-x 1 root dba 657868 Apr 25 2004 httpd
-rwxr-x--- 1 oracle dba 67124 Apr 25 2004 ab
-rwxr-x--- 1 oracle dba 8680 Apr 25 2004 rotatelogs
-rwxr-x--- 1 oracle dba 5200 Apr 25 2004 oversioncheck
-rwxr-x--- 1 oracle dba 10852 Apr 25 2004 logresolve
-rwxr-x--- 1 oracle dba 50444 Apr 25 2004 htpasswd
-rwxr-x--- 1 oracle dba 24400 Apr 25 2004 htdigest
-rwsr-s--- 1 root dba 351632 Apr 25 2004 .apachectl
-rwxr-x--- 1 oracle dba 626044 Apr 25 2004 osslprivkey
-rwxr-x--- 1 oracle dba 7092 Apr 25 2004 osslpassword
-rwxr-x--- 1 oracle dba 859732 Apr 25 2004 osslconvert
-rwxr-xr-x 1 oracle dba 1793 Oct 26 10:42 stopJServ.sh
-rwxr-xr-x 1 oracle dba 1794 Oct 26 10:42 startJServ.sh
-rwsr-s--- 1 oracle dba 12279 Oct 26 11:43 apachectl
-rwxr-xr-x 1 oracle dba 663 Oct 26 11:43 ssl2ossl
-rwxr-xr-x 1 oracle dba 597 Oct 26 11:43 pconvert
-rwxr-xr-x 1 oracle dba 4799 Oct 26 11:43
log_server_status
-rwxr-xr-x 1 oracle dba 1325 Oct 26 11:43 iasobf
-rwxr-xr-x 1 oracle dba 6471 Oct 26 11:43 dbmmanage
-rwxr-xr-x 1 oracle dba 20953 Oct 26 11:43 apxs
-rwxr-x--- 1 oracle dba 937 Oct 26 12:04
root_sh_append.sh
drwxr-xr-x 12 oracle dba 512 Jan 25 11:21 ..
drwxrwxr-x 2 oracle dba 1024 Jan 30 15:19 .



From: Frank van Bortel on
Paolo Iozzino schreef:
[snip]
> oracle 1569 1537 0 Feb 06 ? 0:29 /oracle/product/10gAS/
> Apache/Apache/bin/httpd -d /oracle/product/10gAS/Apache/A
> oracle 1401 1384 0 Feb 06 ? 0:41 /oracle/product/ias/
> Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
> oracle 1719 1384 0 Feb 06 ? 0:39 /oracle/product/ias/
> Apache/Apache/bin/httpd -d /oracle/product/ias/Apache/Apach
>
>
> ls -altr /oracle/product/10gAS/Apache/Apache/bin/
>
[snip]
And what about the other oracle home, /oracle/product/ias ?
Show /oracle/product/ias/Apache/Apache/bin - and check
the configuration: isn't that listening on 443 as well?

netstat -a|grep 443 should also clarify things
--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
From: Paolo Iozzino on
Thank you for reply to my discussion

> And what about the other oracle home, /oracle/product/ias ?

the same permissions :

-rwxr-xr-x 1 oracle dba 1698 May 16 2003 tcpset.sh
-rwxr-xr-x 1 oracle dba 2701 May 16 2003 stopJsv.bat
-rwxr-xr-x 1 oracle dba 2708 May 16 2003 startJsv.bat
-rwxr-xr-x 1 oracle dba 4761 May 16 2003
log_server_status.tmp
-rwxr-xr-x 1 oracle dba 6463 May 16 2003 dbmmanage.tmp
-rwxr-xr-x 1 oracle dba 20913 May 16 2003 apxs.tmp
-rwxr-xr-x 1 oracle dba 1317 May 16 2003 iasobf.tmp
-rwxr-xr-x 1 oracle dba 334 Aug 29 2003
root_sh_append.sh.tmp
-rwxr-xr-x 1 oracle dba 12056 Sep 15 2003 apachectl.tmp
-rwxr-xr-x 1 oracle dba 818 Nov 13 2003 ssotransfer
-rwsr-s--- 1 root dba 12928176 Nov 13 2003 ssomigrate
-rwxr-xr-x 1 oracle dba 16064 Nov 13 2003 apobfuscate
-rwxr-xr-x 1 oracle dba 67124 Nov 13 2003 ab
-rwxr-xr-x 1 oracle dba 5200 Nov 13 2003 oversioncheck
-rwxr-xr-x 1 oracle dba 203 Nov 13 2003 listversion
-rwxr-xr-x 1 oracle dba 50444 Nov 13 2003 htpasswd
-rwxr-xr-x 1 oracle dba 24400 Nov 13 2003 htdigest
-rwxr-xr-x 1 oracle dba 8680 Nov 13 2003 rotatelogs
-rwxr-xr-x 1 oracle dba 10852 Nov 13 2003 logresolve
-rwsr-s--- 1 root dba 351636 Nov 13 2003 .apachectl
-rwxr-xr-x 1 oracle dba 655 Nov 13 2003 ssl2ossl.tmp
-rwxr-xr-x 1 oracle dba 589 Nov 13 2003 pconvert.tmp
-rwxr-xr-x 1 oracle dba 626044 Nov 13 2003 osslprivkey
-rwxr-xr-x 1 oracle dba 7092 Nov 13 2003 osslpassword
-rwxr-xr-x 1 oracle dba 859732 Nov 13 2003 osslconvert
-rwsr-s--- 1 root dba 657144 Nov 30 2003 httpd
-rwxr-xr-x 1 oracle dba 1793 Feb 12 12:54 stopJServ.sh
-rwxr-xr-x 1 oracle dba 1794 Feb 12 12:54 startJServ.sh
-rwxr-xr-x 1 oracle dba 661 Feb 12 14:27 ssl2ossl
-rwxr-xr-x 1 oracle dba 340 Feb 12 14:27
root_sh_append.sh
-rwxr-xr-x 1 oracle dba 595 Feb 12 14:27 pconvert
-rwxr-xr-x 1 oracle dba 4793 Feb 12 14:27
log_server_status
-rwxr-xr-x 1 oracle dba 1323 Feb 12 14:27 iasobf
-rwxr-xr-x 1 oracle dba 6469 Feb 12 14:27 dbmmanage
-rwxr-xr-x 1 oracle dba 20943 Feb 12 14:27 apxs
-rwxr-xr-x 1 oracle dba 12251 Feb 12 14:27 apachectl
drwxr-xr-x 2 oracle dba 1024 Feb 12 14:27 .
drwxr-xr-x 12 oracle dba 512 Feb 17 13:32 ..


> netstat -a|grep 443 should also clarify things

oracle(a)ITSSCTest$ netstat -a| grep 443
*.443 *.* 0 0 49152 0
LISTEN
3000220b1d8 stream-ord 30007b44360 00000000 /var/tmp/.oracle/
s#22182.1

the SSL on 443 works fine. Everything is ok and the application now is
runnig well. The only problem is
that now I' ve problem to manage HTTP with OEM. For example if I try
to deploy I 've this error:

Deployment failed: See base exception for details.
Root Cause: Configuration changes prevented server startup. ld.so.1:
httpd: fatal: libdms2.so: open failed: No such file or directory
Killed
Resolution: See base exception for details.. Configuration changes
prevented server startup. ld.so.1: httpd: fatal: libdms2.so: open
failed: No such file or directory
Killed
Resolution: Please make sure the values entered in OHS configuration
files are correct.