- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem on apache running
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 04:49 PM
01-22-2002 04:49 PM
[Tue Jan 22 16:05:38 2002] [error] (22)Invalid argument: shmctl() could not set segment #8452
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
[Tue Jan 22 16:05:38 2002] [notice] Apache/1.3.22 (Unix) configured -- resuming normal operations
[Tue Jan 22 16:05:38 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Tue Jan 22 16:05:38 2002] [alert] Child 3631 returned a Fatal error...
Apache is exiting!
When I reboot,and ps,it capture something:
1 S 91 1834 1194 0 154 20 2012a00 137 2010928 ? 0:00 httpd
1 S 91 1836 1194 0 168 20 2038600 137 113e14c ? 0:00 httpd
1 S 0 1194 1 0 154 20 201e280 137 408468 ? 0:00 httpd...
I could http://ip address,and get the apache working page.
But in error_log
[Tue Jan 22 16:29:39 2002] [crit] (226)Address already in use: make_sock: could not bind to port 80
I wonder:apache have fault(access_log was empty,and the number in httpd.pid was not the number that ps capture).
Why I could get daemon that apache running,and could get the apache working page.
Thank
--Frank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 05:19 PM
01-22-2002 05:19 PM
Re: Problem on apache running
Finally I find that strange-apache was running in /usr/local/apache,but I remember clearly, before I install 1.3.22, I use swremove to remove 1.3.6,and success. And now I want to ask,how to remove software to the core that was not registered in HP-SD .just delete that folder/usr/local/apache?
It seems following error related to group setup:
[Tue Jan 22 16:05:38 2002] [alert] (22)Invalid argument: setgid: unable to set group id to Group 4294967294
I have create a new group and user:www,I wonder it could help?
By the way,error:
(226)Address already in use: make_sock: could not bind to port 80
What's that mean,and how to solve it?
Thank you very much!
--Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 05:44 PM
01-22-2002 05:44 PM
Re: Problem on apache running
If the software was installed at the command
line and not through 'swinstall' you can
just remove the directories/files once the
processes have been terminated (killed)
Make sure that you have the following in the
/usr/local/appache/conf/httpd.conf file or
where you directory tree is.
User www
Group www (or what you want)
Port 80
The port being in use suggests that something
is already using the port. Use 'netstat -a'
to find out.
Suggest you get an already compile version
from the porting centre, as this will solve
some of your problems. You would install
this via swinstall.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 09:17 PM
01-22-2002 09:17 PM
Re: Problem on apache running
Can you post your http.conf file from the httpd directory.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 09:26 PM
01-22-2002 09:26 PM
Re: Problem on apache running
Just a hunch. Can you show us the output for the following:
# grep 4294967294 /etc/group
If your group ID is not defined in /etc/group, then executables might not be able to setgid to this group.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 10:16 PM
01-22-2002 10:16 PM
SolutionThe specific reason the setgid calls are failing is because it is trying to set gid to a value beyond the maximum system limit for a group id number (UID_MAX which is most likely = to INT_MAX = 2147483647)
Your best option is to setup apache to run using the www account as someone has stated previously
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 04:36 PM
01-23-2002 04:36 PM
Re: Problem on apache running
I set www group,and it's user www,it worked all right now.