SID-01048: Urgent help with http://mydomain/twiki/bin/configure
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
5.8.4 |
| Category: |
CategoryInstallation |
Server OS: |
Solaris 5.10 3/05 |
Last update: |
13 years ago |
I just completed going through the process and requirements for 5.0.0.1 install on Solaris 10. The only thing I had error with was HTML::Tree module, but for now thats ok. My question is when I launch the ...bin/configure from apache I get the entire script. I can't get my configuration script to run. I used Mozilla and IE to launch <http://mydomain/twiki/bin/configure. What can I be doing wrong
Then when I try to launch .../bin/view I get
Software error:
Content-type: text/plain
Perl error when reading
LocalSite.cfg: Please inform the site admin.
BEGIN failed--compilation aborted at /apps/twiki-root/twiki/lib/TWiki.pm line 526.
Compilation failed in require at /apps/twiki-root/twiki/bin/view line 41. BEGIN failed--compilation aborted at /apps/twiki-root/twiki/bin/view line 41.
I've checked my
LocalSite.cfg file and all related files. I believe this is attributed to not having gone through the configuration script.
--
PhillipThomaschima - 2010-12-04
Discussion and Answer
By "I get the entire script" I presume you mean you see the source code of the configure script, not the output of the script. This means that your Apache is not configured properly. Make sure the twiki/bin is configured as a cgi-bin directory. Run the
ApacheConfigGenerator. In
twiki/bin copy
LocalLib.cfg.txt to
LocalLib.cfg, edit that file and fix the lib path to match your TWiki lib dir.
--
PeterThoeny - 2010-12-07
Once configure is running properly it will create the
twiki/lib/LocalSite.cfg for you. e.g. do not hand-create it.
--
PeterThoeny - 2010-12-07
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2011-02-21
I just started installing 5.1.2 and am on the following step.
Run the configure script from your browser (enter
http://yourdomain/twiki/bin/configure
into your browser address bar)
There is no
LocalSite.fg yet it is asking for one...
Software error:
Content-type: text/plain
Perl error when reading
LocalSite.cfg:
Please inform the site admin.
BEGIN failed--compilation aborted at /opt/hpws/apache/htdocs/twiki/lib/TWiki.pm line 528.
Compilation failed in require at /opt/hpws/apache/htdocs/twiki/bin/view line 41.
BEGIN failed--compilation aborted at /opt/hpws/apache/htdocs/twiki/bin/view line 41.
--
VinceLaurent - 2012-11-21
Compilation failed in require at /opt/hpws/apache/htdocs/twiki/bin/view is an indication that you run the view script instead of the configure script. Can you verify that you run the configure script? What do you see in the browser address bar?
--
PeterThoeny - 2012-11-21
Closing this old question.
--
Peter Thoeny - 2013-02-07
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.