fresh install won't show default apache page

ReiJu

Well-Known Member
Mar 14, 2008
57
1
58
I just completed the installation of 3 new servers (centos 5.4 i386 with cPanel). But all of them showing this error message when default page (ie. http://servers.ip/) is accessed:

Template Error: The template file must be given
About 5 (or more) times of "/scripts/upcp --force" didn't do me any good. Can someone give me any clue? If some configs needed, I'll try to post them here.

Thank you.
 

Defected

Member
Dec 14, 2009
17
0
51
i'm having similar problems.I cant open any domain or login to any account on my server. I'm getting redirected to http://domain.com/cgi-sys/defaultwebpage.cgi

Tech support said that there is a bug report on this already and has been corrected in EDGE tree but no eta for release. I'm confused now, i cant do nothing on my server. After 5 clean installs of the OS and cPanel the prob is still there.
 

ReiJu

Well-Known Member
Mar 14, 2008
57
1
58
Let's wait for about a day, perhaps. I just hope this bug won't affect other, previously smoothly installed, servers.

Or, maybe, turning off the update crontab for some time will be wise enough.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
i'm having similar problems.I cant open any domain or login to any account on my server. I'm getting redirected to http://domain.com/cgi-sys/defaultwebpage.cgi

Tech support said that there is a bug report on this already and has been corrected in EDGE tree but no eta for release. I'm confused now, i cant do nothing on my server. After 5 clean installs of the OS and cPanel the prob is still there.
When possible, please send me a PM with the ticket number where this issue was reported; I would like to confirm the specific details involved.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
i'm having similar problems.I cant open any domain or login to any account on my server. I'm getting redirected to http://domain.com/cgi-sys/defaultwebpage.cgi

Tech support said that there is a bug report on this already and has been corrected in EDGE tree but no eta for release. I'm confused now, i cant do nothing on my server. After 5 clean installs of the OS and cPanel the prob is still there.
When possible, please send me a PM with the ticket number where this issue was reported; I would like to confirm the specific details involved.
do we have any news?
So that I may check on the specific details for you and determine if there is an available status update I will need the ticket number in which the issue was reported for your server.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
do we have any news?
So that I may check on the specific details for you and determine if there is an available status update I will need the ticket number in which the issue was reported for your server.
I apologize as I missed the PM at first, but I verified it was received and investigated. I do not yet have an ETA available for when the specific update will move from EDGE to other build trees such as CURRENT and RELEASE. When it is published in the other build trees our official change log will include entries where applicable; I recommend referring to the following two sites for checking the status of new builds and also the change log of new builds:
http://httpupdate.cpanel.net/#builds
http://changelog.cpanel.net/

Reference internal case ID: #35815
 
Last edited:

ReiJu

Well-Known Member
Mar 14, 2008
57
1
58
The last log for CURRENT build is 2009-12-23, and this thread started at 2009-12-24. I'm in a real bad luck. Trying to upcp everyday for nothing.
 

Hostbox.be

Well-Known Member
Nov 4, 2002
61
0
156
Any solution ?

I made a new account today and I am getting this redirect also ?

/cgi-sys/defaultwebpage.cgi

with error:

Template Error: The template file must be given


My version: cPanel 11.25.0-R42399 - WHM 11.25.0 - X 3.9

Everything seems OK when I look at this account and in httpd.conf
 

cPanelDon

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

I made a new account today and I am getting this redirect also ?

/cgi-sys/defaultwebpage.cgi

with error:

Template Error: The template file must be given

My version: cPanel 11.25.0-R42399 - WHM 11.25.0 - X 3.9

Everything seems OK when I look at this account and in httpd.conf
Please submit a ticket so the issue can be properly diagnosed and investigated; when available, please PM me your ticket ID number so that I may follow-up internally and verify the details involved. For reference, a ticket submission may be initiated via the links in my forums signature or via WHM: Main >> Support >> Support Center >> Contact cPanel.
 

Mario-cPanel

cPanel Business Development Analyst
Staff member
Oct 4, 2007
72
145
158
Houston, Texas, United States
cPanel Access Level
Website Owner
Twitter
New cPanel 11.25.0 Installation Apache configuration syntax errors

The release of 11.25.0-RELEASE_42399 and 11.25.0-CURRENT_42399 introduced a configuration issue that may cause Apache configuration syntax errors on servers with no accounts when the mod_userdir tweak is enabled. The condition will present itself upon addition of the first account to the server. This issue is quickly addressed by rebuilding the Apache configuration file.

Symptoms:
The following error can be seen in the cpanel error_log and when attempting to restart Apache:

UserDir "enable" keyword requires a list of usernames

Newly created websites would be sent to defaultwebpage.cgi instead of the
appropriate document root.

Resolutions:
1) New builds, 11.25.0-CURRENT_42400 and 11.25.0-RELEASE_42400, have been published to address the issue. This issue will not be present on subsequent new installations. Upgrading a currently affected system will resolve this issue.

2) Rebuilding the Apache configuration after the addition of the first account will permanently resolve this issue.

From the command line:
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd

or

/scripts/autorepair userdir_enable_fix
/scripts/restartsrv_httpd


From the WHM:
Service Configuration -> Apache Configuration -> Global Configuration -> Save -> Rebuild Configuration and Restart Apache

Note:
The Apache configuration may be rebuilt as a result of other changes made in the WHM. Your new installation may not experience this issue as a result the the Apache configuration being rebuilt automatically.

The above information has been released on the news mailing list information on joining please see below:
_______________________________________________
News mailing list
[email protected]
- cPanel Inc.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
I am unable to solve that problem, i followed your steps but invain :( kindly help me out
Is it a new, fresh installation of cPanel? What is the full cPanel version and build number?

The original issue that was reported in this thread was confirmed to be fixed in all builds.

Do you happen to have a ticket ID number that I may use to locate the details of your issue?
 

cPanelDon

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

Hello,

I have a problem like this but I think the reverse, I have a VPS with control panel VZPP.

My problem is the server default page /cgi-sys/defaultwebpage.cgi not like they reported here, it redirect to 1st account domain name! I tried to rebuild configuration but with no hope.:eek:

The cpanel version is 11.25.0-CURRENT_45139

Thanks in advance.
To prevent possible confusion in the topic this latest new reply has been forked (separated) into a new dedicated thread of discussion.

For reference, here is the new thread: shared ip address redirect to the 1st account domain! - cPanel Forums
 

ecovisiones

Registered
Feb 25, 2011
1
0
51
I have a similar problem only 1 site is working: hierbitas.com. This is the first added in WHM and the dns are: ns1.hierbitas.com and ns2.hierbitas.com, the other sites not working or loading intermittently (f.i. ecovisiones.cl and eco-finanzas.com).
The dig command report:

Code:
dig http://www.hierbitas.com
; <<>> DiG 9.7.0-P1 <<>> http://www.hierbitas.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55462
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;http://www.hierbitas.com]Plantas medicinales.		IN	A
;; Query time: 13 msec
;; SERVER: 200.74.121.12#53(200.74.121.12)
;; WHEN: Sat Feb 26 00:09:33 2011
;; MSG SIZE  rcvd: 35
I tried all options mentioned here but nothing is working.
I did a request to my VPS provider but they say that there is not problem.