Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Cannot do a build!

Quote Reply
Cannot do a build!
When I click on build, I got an error message: "Unable to open /var/apache/htdocs/pages/index.html (permission denied). This means that user nobody is not able to overwrite the existing file. Please make sure you have set the permissions in the setup to 0666 if you plan to build from both the web and shell at the same time." Can someone tell me what build is trying to do and what directory/file should I set the rights for nobody? Thanks.

Quote Reply
Re: Cannot do a build! In reply to
 
Inside the apache directory? It looks like you've got your build path set up wrong? It's trying to do a bulid in your:

/var/apache/htdocs/pages

directory - unless this is where you've intentionally set it to be? Check your build path in the admin area and change it to point to your Links installation and build directory.

Cheers,
R.

Quote Reply
Re: Cannot do a build! In reply to
Ryel01:

Gossamer people set it up for me. Do you know what is the correct default path? I went to Admin area and cannot find any thing about build path. So what do you mean by Build path in Admin area? Thanks.

Quote Reply
Re: Cannot do a build! In reply to
Hi,

Try chmodding /pages to 777 and index.html to 666

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Cannot do a build! In reply to
Hi,

If you know where the correct build directory for your installation is??? you can change it in the admin yourself - (note: the one you have could be right!?).

You can find it in the admin area (version 2.0.3) by following this path:

Admin -> Setup -> Paths & URL's -> build_root_path

If you're not sure what all this means then it's probably a better idea to get in touch with GT again and get them to sort it out.

Cheers,
R.


Quote Reply
Re: Cannot do a build! In reply to
Paulwilson:

I did as you suggested. I chmod pages to 777 and chomod index.html to 666. I clicked on rebuld and still got the same error plus A fatal error has occured: Debug information. Please enable debugging in set up for details. What could this be?

By the way I still can add links and they show up in public. I just cannot do a build. Does this have something to do with my change all the templates (user interface of html files)?

Quote Reply
Re: Cannot do a build! In reply to
GT probably installed the files via telnet, which means all the permissions are as "you".
The server is running as 'nobody'.

You will need to go in via telnet, and make changes to the ../pages directory.

The single, easiest thing to do would be to log, and then issue the command:

chmod -R 777 /var/apache/htdocs/pages

This should fix it. The sledgehammer aproach, but effective :)



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
Quote Reply
Re: Cannot do a build! In reply to
Hi, I went to Admin-setup-URL and path-Build_root_path, the path is myserver/pages. It should be more or less the same as /var/apache/htdocs/pages. I looked at pages directory. It has rwxrwxrwx (777). The owner is 500 and group is 504 for pages directory. Index.html in pages directory has 666. The owner is root and group is other. I chmoded them as root. I gave GT root access to my machine. Do you see any problem or something that I have not done yet? Help is needed!!!

Quote Reply
Re: Cannot do a build! In reply to
Thank you all. After I issued the command as root "chmod -R /var/apache/thdocs/pages", the error is gone. I will look up the man page for chmod -R tomorrow. But can someone explain what was the problem?

Quote Reply
Re: Cannot do a build! In reply to
Permissions as indicated.

chmod changes the permissions on a file.
-R means recurse subdirectories and change all the permissions inside.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin