Mailing List Archive

[Bricolage-General] Installation on Debian 3.0 runs aground
I'm dying shortly after the postgresql db is built:

Finishing database...
Done.
perl inst/conf.pl
Cannot read '/usr/local/apache/conf/httpd.conf': No such file or directory
(do you need to define ServerRoot?) at lib/Bric/Config.pm line 317
BEGIN failed--compilation aborted at lib/Bric/Config.pm line 320.
Compilation failed in require at lib/Bric.pm line 61.
BEGIN failed--compilation aborted at lib/Bric.pm line 61.
Compilation failed in require at inst/conf.pl line 54.
make: *** [conf] Error 255


I unpacked the kit in a temporary location $HOME/kits/bricolage-1.4.4
and made sure that the various perl modules were up to current. The `make'
goes fine, and `make install' chugs along merrily until the error above.
I've tried editing $HOME/kits/bricolage-1.4.4/conf/bricolage.conf to
reflect the Debian locations, but that doesn't come into play.

I suspect I've missed something in RTF INSTALL on configuring locations
but any help would be appreciated.


Louis





-------------------------------------------------------
This sf.net email is sponsored by:
To learn the basics of securing your web site with SSL,
click here to get a FREE TRIAL of a Thawte Server Certificate:
http://www.gothawte.com/rd522.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Tuesday, November 12, 2002, at 04:06 PM, Moore, Louis wrote:

> I suspect I've missed something in RTF INSTALL on configuring locations
> but any help would be appreciated.

Where is your httpd.conf file? Bricolage thinks it's
/usr/local/apache/conf/httpd.conf, but can't find it. Are you running
make install as root?

Regards,

David

--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by:
To learn the basics of securing your web site with SSL,
click here to get a FREE TRIAL of a Thawte Server Certificate:
http://www.gothawte.com/rd522.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
The apache config is in /etc/apache/httpd.conf (where debian drops it),
and I use:

sudo make install

for the installation step.

I thought by editing conf/bricolage.conf by hand prior to running the make
install, that make would find the apache config. I can soft link, from
/usr/local... to /etc/apache/, and might make it further.


Louis


On Tue, 12 Nov 2002, David Wheeler wrote:

> On Tuesday, November 12, 2002, at 04:06 PM, Moore, Louis wrote:
>
> > I suspect I've missed something in RTF INSTALL on configuring locations
> > but any help would be appreciated.
>
> Where is your httpd.conf file? Bricolage thinks it's
> /usr/local/apache/conf/httpd.conf, but can't find it. Are you running
> make install as root?
>
> Regards,
>
> David
>
> --
> David Wheeler AIM: dwTheory
> david@wheeler.net ICQ: 15726394
> http://david.wheeler.net/ Yahoo!: dew7e
> Jabber: Theory@jabber.org
>



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wednesday, November 13, 2002, at 08:00 AM, Moore, Louis wrote:

> I thought by editing conf/bricolage.conf by hand prior to running the
> make
> install, that make would find the apache config. I can soft link, from
> /usr/local... to /etc/apache/, and might make it further.

The Bricolage installer gets the httpd.conf location from the httpd -V
command. If it doesn't find it where httpd tells it to look, it looks
for /usr/share/doc/apache-perl/examples/httpd.conf, which is where
Debian (used to?) keeps it.

However, the Bricolage installer just uses the httpd.conf to figure out
what DSOs you have installed. It generally uses its own httpd.conf
(conf/httpd.conf) for actually running the Apache server.

Any ideas, Sam?

Regards,

David

--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wed, 13 Nov 2002, David Wheeler wrote:
>
> The Bricolage installer gets the httpd.conf location from the httpd -V

Ah. Debian calls the executable apache:

$ /usr/sbin/httpd -V
bash: /usr/sbin/httpd: No such file or directory


8$ /usr/sbin/apache -V
Server version: Apache/1.3.26 (Unix) Debian GNU/Linux
Server built: Oct 26 2002 09:15:15
Server's Module Magic Number: 19990320:13
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/lib/apache/suexec"
-D DEFAULT_PIDLOG="/var/run/apache.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/apache.lock"
-D DEFAULT_ERRORLOG="/var/log/apache/error.log"
-D TYPES_CONFIG_FILE="/etc/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/apache/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/apache/srm.conf"


> command. If it doesn't find it where httpd tells it to look, it looks
> for /usr/share/doc/apache-perl/examples/httpd.conf, which is where
> Debian (used to?) keeps it.
>
> However, the Bricolage installer just uses the httpd.conf to figure out
> what DSOs you have installed. It generally uses its own httpd.conf
> (conf/httpd.conf) for actually running the Apache server.
>
> Any ideas, Sam?
>
> Regards,
>
> David
>
> --
> David Wheeler AIM: dwTheory
> david@wheeler.net ICQ: 15726394
> http://david.wheeler.net/ Yahoo!: dew7e
> Jabber: Theory@jabber.org
>



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wednesday, November 13, 2002, at 08:49 AM, Moore, Louis wrote:

> Ah. Debian calls the executable apache:
>
> $ /usr/sbin/httpd -V
> bash: /usr/sbin/httpd: No such file or directory
>
>
> 8$ /usr/sbin/apache -V

Bricolage will find that. It looks in these directories

/usr/local/apache/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/usr/sbin
/bin

For these executables:

httpd httpsd apache-perl apache

So I'm not sure why it's not finding your httpd.conf.

David

--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
Well, putting a soft link to the httpd.conf gets me to the point where I
can start apache with the bricolage conf, now I have a DB issue to look
into, but progress is happening.

I guess I don't understand how to modify the installation files to have
the site specific stuff propagate into /usr/local/bricolage/conf/*

Louis





On Wed, 13 Nov 2002, David Wheeler wrote:

> On Wednesday, November 13, 2002, at 08:49 AM, Moore, Louis wrote:
>
> > Ah. Debian calls the executable apache:
> >
> > $ /usr/sbin/httpd -V
> > bash: /usr/sbin/httpd: No such file or directory
> >
> >
> > 8$ /usr/sbin/apache -V
>
> Bricolage will find that. It looks in these directories
>
> /usr/local/apache/bin
> /usr/local/bin
> /usr/local/sbin
> /usr/bin
> /usr/sbin
> /bin
>
> For these executables:
>
> httpd httpsd apache-perl apache
>
> So I'm not sure why it's not finding your httpd.conf.
>
> David
>
> --
> David Wheeler AIM: dwTheory
> david@wheeler.net ICQ: 15726394
> http://david.wheeler.net/ Yahoo!: dew7e
> Jabber: Theory@jabber.org
>



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wed, 13 Nov 2002, Moore, Louis wrote:

> -D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"

Bricolage's installer should be picking up this file location. Maybe this
isn't the Apache binary that Bricolage is finding. Could you run a fresh
installation and send me the generated required.db file?

-sam




-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wed, 13 Nov 2002, Sam Tregar wrote:

> On Wed, 13 Nov 2002, Moore, Louis wrote:
>
> > -D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
>
> Bricolage's installer should be picking up this file location. Maybe this
> isn't the Apache binary that Bricolage is finding. Could you run a fresh
> installation and send me the generated required.db file?
>
> -sam
>
>

following the make:

$ cat required.db
$REQ = {
'ICONV' => '/usr/bin/iconv',
'EXPAT' => '/usr/lib/libexpat.so',
'PG_VERSION' => [
'7',
'2',
'1'
],
'APACHE_VERSION' => [
'1',
'3',
'26'
],
'PG_CONFIG' => '/usr/lib/postgresql/bin/pg_config',
'APACHE_EXE' => '/usr/sbin/apache'
};

$



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Tue, 12 Nov 2002, Moore, Louis wrote:

> perl inst/conf.pl
> Cannot read '/usr/local/apache/conf/httpd.conf': No such file or directory
> (do you need to define ServerRoot?) at lib/Bric/Config.pm line 317

Oh, I see the problem! The inst/conf.pl script is still trying to get
$Bric::VERSION by doing a "require lib/Bric.pm". That used to be safe
because Bric.pm didn't load Bric::Config. However, at some point that
changed and I had to start getting $Bric::VERSION another way (see
Makefile). But it looks like inst/conf.pl never got changed and is
loading Bric.pm during installation.

This is fixed now in CVS. It would be very helpful if you could checkout
a copy of the Release_1_4_0 branch and test against that on your system.
If not, you should be able to test 1.4.5 and verify that the fix worked.

-sam




-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Wednesday, November 13, 2002, at 12:14 PM, Sam Tregar wrote:

> This is fixed now in CVS. It would be very helpful if you could
> checkout
> a copy of the Release_1_4_0 branch and test against that on your
> system.
> If not, you should be able to test 1.4.5 and verify that the fix
> worked.

I plan to release 1.4.5 later today.

David

--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
RE: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
is there any way to add a media type to the MEDIA area (not media type the
way there is in admin)... i.e., in addition to Illustration and Photograph,
is there a way from the UI to add another type? I've scoured the UI and
rifled through the docs, but to no avail.

thanks!
rachel









*****************************
Rachel Murray
Senior Producer

Primedia Internet Resource
& Technology Group

249 West 17th Street
New York, NY 10011
ph: 212-204-1428
email: rmurray@thepirtgroup.com

*******************************
"If it keeps up, man will atrophy all his limbs but the push-button finger."

-Frank Lloyd Wright
*******************************


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Installation on Debian 3.0 runs aground [ In reply to ]
On Thursday, November 14, 2002, at 07:28 AM, Murray, Rachel wrote:

> is there any way to add a media type to the MEDIA area (not media type
> the
> way there is in admin)... i.e., in addition to Illustration and
> Photograph,
> is there a way from the UI to add another type? I've scoured the UI
> and
> rifled through the docs, but to no avail.

Yes, in the element manager. Go to Admin -> Publishing -> Elements and
then click "Add a New Element." Type in a Name and description, and
select "Media" from the "Type" select list (if you've edited your
element types via the Element Type manager, you may no longer have the
default "Media" element type, and have to select something else). Pick
whichever burner is relevant to you (it doesn't really matter --
burners aren't used for media). On the next screen, select the output
channel(s) you want media of this new type to be published to, and add
any subelements and fields you might need. Then save. Your new media is
now ready.

If you're willing to abandon the default "Media" element type, you can
get improved functionality for images. Go into Admin -> Publishing ->
Element Types and then click "Add a New Media Type." Type in a name and
description, and choose "Media" from the select list. This means the
elements of this element type will all be media elements. Click "Next."
On the next screen, leave the checkboxes unchecked, but if your new
media type is for images, select "Image" from the "Media Type" select
list. Save it.

Now, when you create new Elements as described above, and use the new
Element Type we just created to base it on (instead of "Media"), you'll
find that, by default, the new Element type you've created will have
some fields: "Width," "Height," "Compression," "Color Type," and
"Resolution." What's more, when you actually create a media asset based
on this new element, and you upload an image, Bricolage will
autopopulate those fields as best as it can. This is great for getting
easy height and width values without you having to put them in manually.

HTH,

David

--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: Theory@jabber.org



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general