Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I go to Account Functions >> Modify an Account, I can't change the user name. I get this error message:

Account Not Modified Shell already set to /bin/bash Error.. There is currently a configuration error in the Apache configuration file. User name change aborted. Account modification aborted, there was a problem changing the user name.

My user name uses only 7 lowercase letter characters so I don't think that's the problem.

Please help.

share|improve this question

closed as off-topic by Falcon Momot, Ward, Jenny D, Bryan, Scott Pack Jul 20 '13 at 1:44

  • This question does not appear to be about professional server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

4  
Questions concerning the use of shared web hosting by end users or resellers, rather than the administration of web hosting, are off-topic. –  Falcon Momot Jul 19 '13 at 6:56

1 Answer 1

Firstly, check the syntax of the apache file with the following command: /usr/local/apache/bin/httpd -t

You can either fix these manually, or preferably, rebuild your configuration using cPanel's tool. Using cpanel's method, backup your httpd.conf, and run /scripts/rebuildhttpconf

Then check the syntax again and try your change if that resolved the issue.

Please note if you've been making manual changes to the httpd.conf without using cPanel's tools or templating systems, before trying anything, backup your httpd.conf. If you're on cPanel 11 and havent' been modifying things using cPanel's tools, it will overwrite your changes and you could lose all your configuration data for apache.

If rebuiding the apache configuration didn't fix the issue, I would check the logs for cPanel, the error log is located here:

/usr/local/cpanel/logs/error_log

Be careful not to restart the cPanel service, or try your change again to make sure its in the logs, as restarting cPanel wipes out the error_log (one of a thousand /facepalms you run into with cPanel).

Failing anything specific there, I've not seen that specific error, but there are some steps you can take to hopefully 'voodoo' cpanel into fixing it, including running /scripts/rebuildcpusers, followed by /scripts/rebuildhttpdconf.

share|improve this answer