Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Errors #84

Open
xcrap opened this issue Apr 22, 2024 · 2 comments
Open

Apache Errors #84

xcrap opened this issue Apr 22, 2024 · 2 comments

Comments

@xcrap
Copy link

xcrap commented Apr 22, 2024

I have everything working and the websites are displaying well and so but I seen some Apache Errors that seem off, I like to have everything clean maybe you know why this is happening:

[Mon Apr 22 06:49:59.896895 2024] [unixd:alert] [pid 76797] (9)Bad file descriptor: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive

I got a lot of this errors, not every single time I open pages but every now and then.

@xpf0000
Copy link
Owner

xpf0000 commented Apr 23, 2024

[Mon Apr 22 06:49:59.896895 2024] [unixd:alert] [pid 76797] (9)Bad file descriptor: AH02155: getpwuid: couldn't determine user name from uid -1, you probably need to modify the User directive

This problem has been fixed in the new version. This is because the apache configuration file does not set User and Group. For newer versions, Apache will automatically set User and Group when it starts.

By the way. The [mpm_prefork:notice] and [core:notice] in the log cannot be ignored. Even if the LogLevel is set to error or higher. At least I haven't found a way to ignore them. So in the error log, it won't be completely clean.

@xcrap
Copy link
Author

xcrap commented Apr 23, 2024

Yeah I realize you always have some notices, it's all good but I'm comparing with the ones getting from other Apache Installations to see and compare what's expected :)

The change of setting a user/group name will add a new notice in the start:
[Tue Apr 23 11:17:37.878952 2024] [ssl:warn] [pid 92029] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

I'll check what's that later on.

Thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants