• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Error with new domains, httpd.include HUGE PROBLEM

T

trebbor

Guest
We have a webserver with Plesk 8, but we have some serious problems.

We have two domains on the system, they work fine.

But when we make a new domein (add) on what for user, the system (apache) is getting errors and will not start up any more.

Test domain, (tested with many more)
Code:
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: could not open document config file /home/httpd/vhosts/test.nl/conf/httpd.include
                                                           [FAILED]

Thats one, ok now I'm looking for the problem, I checked the httpd.include file, but could'n find any problems or wrong inputs in that file.

Ok, second...

Chmod 777 httpd.include.. same problem.. and chown root:root httpd.include...

Code:
# /home/httpd/vhosts/test.nl/conf/httpd.include
/home/httpd/vhosts/test.nl/conf/httpd.include: line 9: syntax error near unexpected token `newline'
/home/httpd/vhosts/test.nl/conf/httpd.include: line 9: `<VirtualHost 195.114.20.101:80>'

Starting httpd?

Code:
# /sbin/service httpd start
Starting httpd: httpd: could not open document config file /home/httpd/vhosts/test.nl/conf/httpd.include
                                                           [FAILED]


I have checked everything, but nothing works....

Strange enough, two other domains (1 day old) will work..
 
BUMP

Anyone figure this out. We are having new domains created in plesk without a httpd.include file.

Starting httpd: httpd: could not open document config file /var/www/vhosts/domain.name/conf/httpd.include
[FAILED]
 
Well, for starters chmod 777 a config file is not a good idea.

At the MOST chmod 644 (root r/w and everyone else can read).

do this for me as root or someone with access to these folders:


Code:
ls -l /home/httpd/vhosts/test.nl/conf/httpd.include

ls -l /home/httpd/vhosts/test.nl/conf/

ls -ld /home/httpd/vhosts/test.nl/conf/

cat /home/httpd/vhosts/test.nl/conf/httpd.include

and post the results.

Thanks,
Bill
 
Back
Top