Discussions
Activity
Sign In
How it works
Newscoop Support
Re: [campsite-support] Installation as non-root problems
Vote Up
0
Vote Down
import
March 2006
Posts: 0
Member
Hi,
Please edit the file /web/foghorn/campsite/bin/campsite-create-instance.php, go to line 139 and replace the lines 139 and 140:
if ($res != 0)
return implode("\n", $output);
with
// if ($res != 0)
// return implode("\n", $output);
Regards,
Mugur
wrote: Author: jimmybondo
Link:
http://code.campware.org/phorum/read.php?8,3751,3751#msg-3751
--------------------------------------------------------------------------------
I followed all of the directions on the non-root instruction page, but when I go to the create instance command, I got this:
chown: changing ownership of `/web/foghorn/campsite/etc/campsite': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/etc/campsite/smtp_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/etc/campsite/database_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/etc/campsite/parser_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/etc/campsite/apache_conf.php': Operation not permitted
Campsite parameters:
APACHE_USER = (removed)
APACHE_GROUP = (removed)
CAMPSITE_DIR = /web/foghorn/campsite
BIN_DIR = /web/foghorn/campsite/bin
SBIN_DIR = /web/foghorn/campsite/sbin
ETC_DIR = /web/foghorn/campsite/etc
WWW_DIR = /web/foghorn/campsite/www
WWW_COMMON_DIR = /web/foghorn/campsite/www-common
DEFAULT_SMTP_SERVER_ADDRESS = localhost
DEFAULT_SMTP_SERVER_PORT = 25
DEFAULT_DATABASE_SERVER_ADDRESS = localhost
PARSER_START_PORT = 2000
DATABASE_NAME = campsite
DATABASE_SERVER_ADDRESS = localhost
DATABASE_SERVER_PORT = 0
DATABASE_USER = (removed)
DATABASE_PASSWORD = (removed)
PARSER_PORT = 2001
PARSER_MAX_THREADS = 0
SMTP_SERVER_ADDRESS = localhost
SMTP_SERVER_PORT = 25
Now, I have tried giving thos files all permissions, tried changing the myself, but no luck. Any suggestions?
Thank you
Jim
--
Sent from Campware Forums
http://code.campware.org/phorum
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
4 Comments
sorted by
Votes
Date Added
Vote Up
0
Vote Down
import
April 2010
Posts: 0
Member
Alright, I commented out those lines, but now it is pumping out these errors:
chown: changing ownership of `/web/foghorn/campsite/www/campsite': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/install_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/smtp_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/admin.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/include': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/classes': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/javascript': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/configuration.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/index.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/look': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/images': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/images/thumbnails': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/css': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/database_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/attachment.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/parser_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/apache_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/campsite_version.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/parser_utils.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/files': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/db_connect.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/admin-files': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin/get_img': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin/tpl_cgi': Operation not permitted
Unable to create the database campsite
Campsite parameters:
APACHE_USER = (removed)
APACHE_GROUP = (removed)
CAMPSITE_DIR = /web/foghorn/campsite
BIN_DIR = /web/foghorn/campsite/bin
SBIN_DIR = /web/foghorn/campsite/sbin
ETC_DIR = /web/foghorn/campsite/etc
WWW_DIR = /web/foghorn/campsite/www
WWW_COMMON_DIR = /web/foghorn/campsite/www-common
DEFAULT_SMTP_SERVER_ADDRESS = localhost
DEFAULT_SMTP_SERVER_PORT = 25
DEFAULT_DATABASE_SERVER_ADDRESS = localhost
PARSER_START_PORT = 2000
DATABASE_NAME = campsite
DATABASE_SERVER_ADDRESS = localhost
DATABASE_SERVER_PORT = 0
DATABASE_USER = (removed)
DATABASE_PASSWORD = (removed)
PARSER_PORT = 2001
PARSER_MAX_THREADS = 0
SMTP_SERVER_ADDRESS = localhost
SMTP_SERVER_PORT = 25
Thanks for your help so far though!
Jim
Vote Up
0
Vote Down
import
April 2010
Posts: 0
Member
Please make sure you set the apache user and group to your own user/group. For example, if your user/group are: jimmy/jimmy then you MUST set the apache user/group to: jimmy/jimmy, not to apache/apache.
Mugur
wrote: Author: jimmybondo
Link:
http://code.campware.org/phorum/read.php?8,3754,3771#msg-3771
--------------------------------------------------------------------------------
Alright, I commented out those lines, but now it is pumping out these errors:
chown: changing ownership of `/web/foghorn/campsite/www/campsite': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/install_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/smtp_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/admin.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/include': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/classes': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/javascript': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/configuration.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/index.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/look': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/images': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/images/thumbnails': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/css': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/database_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/attachment.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/parser_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/apache_conf.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/campsite_version.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/parser_utils.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/files': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/db_connect.php': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/html/admin-files': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin/get_img': Operation not permitted
chown: changing ownership of `/web/foghorn/campsite/www/campsite/cgi-bin/tpl_cgi': Operation not permitted
Unable to create the database campsite
Campsite parameters:
APACHE_USER = (removed)
APACHE_GROUP = (removed)
CAMPSITE_DIR = /web/foghorn/campsite
BIN_DIR = /web/foghorn/campsite/bin
SBIN_DIR = /web/foghorn/campsite/sbin
ETC_DIR = /web/foghorn/campsite/etc
WWW_DIR = /web/foghorn/campsite/www
WWW_COMMON_DIR = /web/foghorn/campsite/www-common
DEFAULT_SMTP_SERVER_ADDRESS = localhost
DEFAULT_SMTP_SERVER_PORT = 25
DEFAULT_DATABASE_SERVER_ADDRESS = localhost
PARSER_START_PORT = 2000
DATABASE_NAME = campsite
DATABASE_SERVER_ADDRESS = localhost
DATABASE_SERVER_PORT = 0
DATABASE_USER = (removed)
DATABASE_PASSWORD = (removed)
PARSER_PORT = 2001
PARSER_MAX_THREADS = 0
SMTP_SERVER_ADDRESS = localhost
SMTP_SERVER_PORT = 25
Thanks for your help so far though!
Jim
--
Sent from Campware Forums
http://code.campware.org/phorum
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
Vote Up
0
Vote Down
import
April 2010
Posts: 0
Member
I have the correct apache user group, I just chose not to show it. I got them from the sys admin.
Jim
PS- Thanks for the fast reply!
Vote Up
0
Vote Down
import
April 2010
Posts: 0
Member
When installing Campsite without root privileges you MUST NOT USE the apache user/group but instead use your own user/group.
For example, if your user/group are: jimmy/jimmy then run the configure script the following way:
./configure --apache_user jimmy --apache_group jimmy [etc.]
Then:
make
make install
.../campsite-create-instance ...
Mugur
wrote: Author: jimmybondo
Link:
http://code.campware.org/phorum/read.php?8,3754,3787#msg-3787
--------------------------------------------------------------------------------
I have the correct apache user group, I just chose not to show it. I got them from the sys admin.
Jim
PS- Thanks for the fast reply!
--
Sent from Campware Forums
http://code.campware.org/phorum
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339