BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 7th, 2003, 04:28 AM
spike_uk spike_uk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Norwich, UK
Posts: 2 spike_uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Autostart Zope on boot (FreeBSD)

Hi,

I'm sure this should be a no-brainer, but I just can't seem to get my head round the problem. I'm a new(ish) Linux (Debian) user myself, so I'm fairly au fait with the idea of startup scripts and permissions and so on but I just can't seem to get Zope to start on booting one of my FreeBSD servers (BSD I'm less familier with).

There's a zope startup script in the right place, and it gets run, but the script doesn't have the right permissions to actually start zope. If I do sudo /usr/local/etc/rc.d/zope.sh start|stop it works just fine, it's just when the script is run at a non-root level that it falls over. I've tried changing the permissions (to 777, in the end) of the script itself, of the directory it runs in and the scripts it calls in the Zope directory, but all to no avail. I *think* the problem comes down to the creation of a file 'zope-output' which needs re-creating on each startup, but needs root priviliges to be created?

Am I just being dense, and overlooking something obvious, or is this really as awkward as it seems to be? Has anyone else had this problem, becuase I've got it happening on at least two machines (almost identical configs otherwise), or is it just me?

thanks in advance,




-mat brown

new media developer, URL

Reply With Quote
  #2  
Old January 8th, 2003, 02:00 AM
Silverlokk's Avatar
Silverlokk Silverlokk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Manila, Philippines
Posts: 39 Silverlokk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 15 sec
Reputation Power: 6
Send a message via ICQ to Silverlokk
How did you install Zope? Did mine from the ports, and the make install went all the way to modifying my start-up script.

Reply With Quote
  #3  
Old January 8th, 2003, 03:23 AM
spike_uk spike_uk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Norwich, UK
Posts: 2 spike_uk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
it's OK, my bad

I did install Zope from the ports list, and it did modify/create the correct files in /usr/local/etc/rc.d/ - a standard installation. The weird thing is that it started working this morning, with (as far as I can remember) no intervention from myself. My other machine that had/has the problem I don't know about, as it's in a live situation and I can't reboot it just to test. (I just have to make sure I check it after it's next reboot!)

Looks like today is going to be a Good Pixie Day.


thanks for the help anyway, much appreciated.




-mat.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Autostart Zope on boot (FreeBSD)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway