Hi Lars,
I added entry in sudoer file for wsadmin user which will manage to IHS server.
these are the entry which i added in file.
wsadmin ALL=(ALL)/WAS/IBM/HttpServer/bin/apachectl -k start , /WAS/IBM/HttpServer/bin/apachectl -k stop, /WAS/IBM/HttpServer/bin/adminctl -k start,/WAS/IBM/HttpServer/bin/adminctl -k stop
now it is working fine.
------------------------------
susheel kumar
------------------------------
Original Message:
Sent: Fri August 25, 2023 03:48 AM
From: Lars Besselmann
Subject: unbale to start ibm http server using non-root user with port 80.
The ports from 1 to 1024 are reserved for the Operating System and only available to root for usage. Therefore you cannot use them as non-root.
If your question is how to enable sudo for the user, this depends on the Operating System.
Here the steps for Red Hat Enterprise Linux: https://developers.redhat.com/blog/2018/08/15/how-to-enable-sudo-on-rhel
------------------------------
[Lars] [Besselmann]
Integration Technical Specialist, IBM Technology Sales, EMEA
IBM
Düsseldorf
[Lars.Besselmann@de.ibm.com]
Original Message:
Sent: Thu August 24, 2023 03:44 PM
From: susheel kumar
Subject: unbale to start ibm http server using non-root user with port 80.
Hi Teams,
Greetings!
Can someone help me how to configure IBM Http server to start as non-root user with port 80. My IHS is installed using wsadmin user.
/IBM/Httpserver/bin/apachectl -k start
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80.
Please provide details how to add sudo access to execute this command (/IBM/Httpserver/bin/apachectl -k start)
------------------------------
susheel kumar
------------------------------