Apache domlogs issue when account username contains a period

jayntguru

Member
May 14, 2004
17
0
151
Acworth, GA USA
We are running 11.25, latest version, and are having the " Graceful restart requested, doing restart" issues. Unfortunately, when the restart happens, we receive this error in the apache error_log

"[Fri Dec 18 00:48:20 2009] [error] (21)Is a directory: could not open transfer log file /usr/local/apache/domlogs/nx2k.com."

If I delete this directory, apache will start just fine, but at the next "graceful restart", I have to go in and delete the directory again.

What is going on here, cpanel?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
We are running 11.25, latest version, and are having the " Graceful restart requested, doing restart" issues. Unfortunately, when the restart happens, we receive this error in the apache error_log

"[Fri Dec 18 00:48:20 2009] [error] (21)Is a directory: could not open transfer log file /usr/local/apache/domlogs/nx2k.com."

If I delete this directory, apache will start just fine, but at the next "graceful restart", I have to go in and delete the directory again.

What is going on here, cpanel?
This appears to be a different or otherwise unrelated issue to the frequency of restarts. Please submit a support request so we can take a closer look at the circumstances involved. When available, please PM me referencing your post and the new ticket ID number.
 

Pashio

Active Member
Nov 26, 2005
31
0
156
Apache error

Hello,

Apache on my server wont start...:(

I am receiving below error into error_log

==============
# tail -f /usr/local/apache/logs/error_log
[Mon Dec 21 21:31:42 2009] [error] (21)Is a directory: could not open transfer log file /usr/local/apache/domlogs/slab.in.
Unable to open logs
==============

can anyone help me with this ......
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
The issue stemmed from an earlier version allowing an account username to be created containing a period ("."); per internal case ID #32910 this is fixed in cPanel version 11.25 and effective for new account creations.

To resolve the issue for an existing account that has a username containing a period (".") it is necessary to correct the username by removing any periods that may exist.
Example username, before correction: "name.tld"
Example username, after correction: "nametld"

Account username modification may be performed via the following menu path in WHM:
WHM: Main >> Account Functions >> Modify an Account
Documentation: Modify an Account

If the account username that has a period is that of a reseller account, then the following steps may be used:
1.) Remove reseller privileges
2.) Modify account username to remove the period
3.) Add reseller privileges
4.) Update ownerships of accounts owned by the reseller

If needed, accounts already owned by the reseller may have account ownership temporarily switched from the reseller to root.

Additional menu path for reseller privileges and ownership modification:
WHM: Main >> Resellers >> Reseller Center
Documentation: Reseller Center
 
Last edited:

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Friendly Moderator Note

I've split the topic (moved relevant posts) into a new thread to help differentiate the issue from the original discussion thread.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Apache on my server wont start...:(

I am receiving below error into error_log

==============
# tail -f /usr/local/apache/logs/error_log
[Mon Dec 21 21:31:42 2009] [error] (21)Is a directory: could not open transfer log file /usr/local/apache/domlogs/slab.in.
Unable to open logs
==============

can anyone help me with this ......
The account username containing a period will need to be modified to remove the period, please see the following post for additional details for resolution: Apache domlogs issue when account username has a period - cPanel Forums