Apache configuration test doesn't pass or fail. Nothing happens.
I have apache installed on a Linux server. When I run the command for status, or the flag to check the configuration, (-t), it takes me to a new prompt with no output. I'm logged in as root. When I run the configuration check command (with the full path, command, and flag) on other Apache servers, I get "Syntax ok" as the output. Or sometimes I get an error (if there is a problem with a configuration file). In this instance, I get nothing when I check the configuration of apache. I just get a new command prompt. When I try to start apache, nothing happens as well. No error either. I just go to a new line. What is wrong?
I found out what was wrong
The problem was that a configuration file existed, but it was 0 bytes. I have no idea how it became an empty, zero byte file. But once I corrected it, the problem went away. I wouldn't have thought the behavior that I observed was possible.
Originally Posted by atreyu