Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-09 Thread Michael Rennecke
r...@walhalla bin $ ./bacula-dir -f -c /opt/bacula/etc/bacula-dir.conf
09-Aug 10:53 bacula-dir: ERROR TERMINATION at bsys.c:445
Could not open pid file. /opt/bacula/bin/working/bacula-dir.9101.pid ERR=No 
such file or directory

After 
mkdir opt/bacula/bin/working 
runs bacula-dir :-)
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-08 Thread Robert Hartzell

Michael Rennecke wrote:

The flags are working

LDFLAGS="-L/usr/mysql/5.1/lib/mysql -R/usr/mysql/5.1/lib/mysql"
export LDFLAGS;


But bacula don't run. I think this is a error in my config.

r...@walhalla bin $ ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
r...@walhalla bin $ ps -ef | grep bacula
root 11555  1950   0 09:28:42 pts/2   0:00 /usr/gnu/bin/grep 
--color=auto bacula

Can you send me your configure script? I have also Open Solaris Build 118.


No problem, I will send it when I get to the office later today.
Have you tested the config files? If not try this but don't forget to 
alter the path for your installation


pfexec ./bacula-dir -t -c /etc/bacula/bacula-dir.conf

whats the output if any?

--
 Robert W Hartzell
bear at rwhartzell.net
  RwHartzell.Net
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-08 Thread Michael Rennecke
The flags are working
>LDFLAGS="-L/usr/mysql/5.1/lib/mysql -R/usr/mysql/5.1/lib/mysql"
>export LDFLAGS;

But bacula don't run. I think this is a error in my config.

r...@walhalla bin $ ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
r...@walhalla bin $ ps -ef | grep bacula
root 11555  1950   0 09:28:42 pts/2   0:00 /usr/gnu/bin/grep 
--color=auto bacula

Can you send me your configure script? I have also Open Solaris Build 118.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-07 Thread Robert Hartzell

Michael Rennecke wrote:

Robert Hartzell  writes:


just adjust the path for mysql.

Setting that like you suggest:
LDFLAGS="-L/usr/mysql/5.1/lib

-R/usr/mysql/5.1/lib";export LDFLAGS

./configure --prefix=/usr/local/src/test

--with-mysql

change  --with-mysql to --with-mysql=/usr/mysql/5.1
should work fine... i just tested on opensolaris

build 118

For the record and the benefit of anyone else who
searches this group
about mysql.

Yup it does...

change  --with-mysql to

--with-mysql=/usr/mysql/5.1

 I got there just ahead of your suggestion but thanks
or the help.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


I can compile bacaula without errors, but I can't start the director.

export 
PATH=/usr/bin:/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin

export HO=/opt
CFLAGS="-g -O2" ./configure \
  --sbindir=$HO/bacula/bin \
  --sysconfdir=$HO/bacula/etc \
  --with-mysql=/usr/mysql/5.1 \
  --enable-smartalloc \
  --with-pid-dir=$HO/bacula/bin/working \
  --with-subsys-dir=$HO/bacula/bin/working \
  --with-working-dir=$HO/bacula/working \
  --enable-bat

renne...@walhalla bin $ pfexec ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.16: open failed: No such file 
or directory
/opt/bacula/etc/bacula-ctl-dir: line 214: 7684: Killed

The database exists. I think bacula don't find libmysqlclient_r.so. How can I 
fix this?


To get bacula to build and run on opensolaris with mysql I use this

LDFLAGS="-L/usr/mysql/5.1/lib/mysql -R/usr/mysql/5.1/lib/mysql"
export LDFLAGS;

./configure --with-mysql=/usr/mysql/5.1 (many more options omitted)

This differs slightly from an earlier post I made to this thread. I 
found on Opensolaris you need to append another "mysql" to the LDFLAGS 
statement for bacula to find the libs.


This is tested and running on snv_118. If you would like I can send you 
a copy of my configure script.


hth

--
 Robert W Hartzell
bear at rwhartzell.net
  RwHartzell.Net
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-07 Thread Harry Putnam
Harry Putnam  writes:

> Michael Rennecke 
> writes:
>
>>  libmysqlclient_r.so.16
>
> Is this pkg installed:
>pkg:/SUNWmysql51lib
>
> It contains libmysqlclient_r.so.16
>
> Which is a symlink like this (wrapped for mail):
>  ls -al /usr/mysql/5.1/lib/mysql/libmysqlclient_r.so.16
> lrwxrwxrwx 1 root root 26 2009-07-21 15:57 \
> /usr/mysql/5.1/lib/mysql/libmysqlclient_r.so.16 -> \
>  libmysqlclient_r.so.16.0.0

I may have spoke out of turn there.   I have the pkg
pkg:/SUNWmysql51lib installed but still get the same error you got:
../test/sbin/bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.16: open failed: No such file 
or directory


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-07 Thread Harry Putnam
Michael Rennecke 
writes:

>  libmysqlclient_r.so.16

Is this pkg installed:
   pkg:/SUNWmysql51lib

It contains libmysqlclient_r.so.16

Which is a symlink like this (wrapped for mail):
 ls -al /usr/mysql/5.1/lib/mysql/libmysqlclient_r.so.16
lrwxrwxrwx 1 root root 26 2009-07-21 15:57 \
/usr/mysql/5.1/lib/mysql/libmysqlclient_r.so.16 -> \
 libmysqlclient_r.so.16.0.0

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-08-07 Thread Michael Rennecke
> Robert Hartzell  writes:
> 
> >>> just adjust the path for mysql.
> >>
> >> Setting that like you suggest:
> >> LDFLAGS="-L/usr/mysql/5.1/lib
> -R/usr/mysql/5.1/lib";export LDFLAGS
> >>
> >> ./configure --prefix=/usr/local/src/test
> --with-mysql
> >>
> >
> > change  --with-mysql to --with-mysql=/usr/mysql/5.1
> > should work fine... i just tested on opensolaris
> build 118
> 
> For the record and the benefit of anyone else who
> searches this group
> about mysql.
> 
> Yup it does...
> > change  --with-mysql to
> --with-mysql=/usr/mysql/5.1
> 
>  I got there just ahead of your suggestion but thanks
> or the help.
> 
> ___
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org

I can compile bacaula without errors, but I can't start the director.

export 
PATH=/usr/bin:/usr/ccs/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ucb:/usr/sbin

export HO=/opt
CFLAGS="-g -O2" ./configure \
  --sbindir=$HO/bacula/bin \
  --sysconfdir=$HO/bacula/etc \
  --with-mysql=/usr/mysql/5.1 \
  --enable-smartalloc \
  --with-pid-dir=$HO/bacula/bin/working \
  --with-subsys-dir=$HO/bacula/bin/working \
  --with-working-dir=$HO/bacula/working \
  --enable-bat

renne...@walhalla bin $ pfexec ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
ld.so.1: bacula-dir: fatal: libmysqlclient_r.so.16: open failed: No such file 
or directory
/opt/bacula/etc/bacula-ctl-dir: line 214: 7684: Killed

The database exists. I think bacula don't find libmysqlclient_r.so. How can I 
fix this?
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Harry Putnam
Robert Hartzell  writes:

>>> just adjust the path for mysql.
>>
>> Setting that like you suggest:
>> LDFLAGS="-L/usr/mysql/5.1/lib -R/usr/mysql/5.1/lib";export LDFLAGS
>>
>> ./configure --prefix=/usr/local/src/test --with-mysql
>>
>
> change  --with-mysql to --with-mysql=/usr/mysql/5.1
> should work fine... i just tested on opensolaris build 118

For the record and the benefit of anyone else who searches this group
about mysql.

Yup it does...
   > change  --with-mysql to --with-mysql=/usr/mysql/5.1

 I got there just ahead of your suggestion but thanks
for the help.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Mark Martin

Harry Putnam wrote:

Mark Martin 
writes:
  

ps- I also tried with includedir set after setting LDFLAGS as above.
Same result... same error.
  
  

You may want to try variations on the --includedir...sometimes there's
an implicit #include "mysql/mysql.h" in there...  Try walking up the
tree to just the /usr/mysql/5.1/ dir?



You hit it... but it was more general than includedir.

It appears to have wanted the general address of mysql

   --with-mysql=/usr/mysql/5.1

Seems to have worked.
  
Glad to hear it!  Would you consider submitting a .spec file for this 
and getting it in to the /contrib repository for others to benefit from 
your hard work?


http://jucr.opensolaris.org/home/


___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Harry Putnam
Mark Martin 
writes:
>> ps- I also tried with includedir set after setting LDFLAGS as above.
>> Same result... same error.
>>   
> You may want to try variations on the --includedir...sometimes there's
> an implicit #include "mysql/mysql.h" in there...  Try walking up the
> tree to just the /usr/mysql/5.1/ dir?

You hit it... but it was more general than includedir.

It appears to have wanted the general address of mysql

   --with-mysql=/usr/mysql/5.1

Seems to have worked.

  Thanks

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Robert Hartzell

Harry Putnam wrote:

Robert Hartzell  writes:


Harry Putnam wrote:

Sean  writes:


We just compile it ourselves. It builds without any issues.

It fails here when ./configure is run like this:

  ./configure --prefix=/usr/local/src/test --with-mysql \
--includedir=/usr/mysql/5.1/include/mysql/

 [...]

checking for MySQL support... no
configure: error: Unable to find mysql.h in standard locations

The file `mysql.h' is where I told configure to look:

ls -l /usr/mysql/5.1/include/mysql/mysql.h

-r--r--r-- 1 root bin 33654 ... /usr/mysql/5.1/include/mysql/mysql.h


I have never used the "--includedir" option but LDFLAGS has worked
well for me,

LDFLAGS="-L/usr/postgres/8.3/lib -R/usr/postgres/8.3/lib"
export LDFLAGS;

./configure ...

just adjust the path for mysql.


Setting that like you suggest:
LDFLAGS="-L/usr/mysql/5.1/lib -R/usr/mysql/5.1/lib";export LDFLAGS

./configure --prefix=/usr/local/src/test --with-mysql



change  --with-mysql to --with-mysql=/usr/mysql/5.1
should work fine... i just tested on opensolaris build 118

--
 Robert W Hartzell
bear at rwhartzell.net
  RwHartzell.Net
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Mark Martin

Harry Putnam wrote:

Robert Hartzell  writes:

  

Harry Putnam wrote:


Sean  writes:

  

We just compile it ourselves. It builds without any issues.


It fails here when ./configure is run like this:

  ./configure --prefix=/usr/local/src/test --with-mysql \
--includedir=/usr/mysql/5.1/include/mysql/

 [...]

checking for MySQL support... no
configure: error: Unable to find mysql.h in standard locations

The file `mysql.h' is where I told configure to look:

ls -l /usr/mysql/5.1/include/mysql/mysql.h

-r--r--r-- 1 root bin 33654 ... /usr/mysql/5.1/include/mysql/mysql.h

  

I have never used the "--includedir" option but LDFLAGS has worked
well for me,

LDFLAGS="-L/usr/postgres/8.3/lib -R/usr/postgres/8.3/lib"
export LDFLAGS;

./configure ...

just adjust the path for mysql.



Setting that like you suggest:
LDFLAGS="-L/usr/mysql/5.1/lib -R/usr/mysql/5.1/lib";export LDFLAGS

./configure --prefix=/usr/local/src/test --with-mysql

[...]
* Seems to make no difference at all...  Still ends with the same
error:

  checking for MySQL support... no
  configure: error: Unable to find mysql.h in standard locations

ps- I also tried with includedir set after setting LDFLAGS as above.
Same result... same error.
  
You may want to try variations on the --includedir...sometimes there's 
an implicit #include "mysql/mysql.h" in there...  Try walking up the 
tree to just the /usr/mysql/5.1/ dir?

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-22 Thread Harry Putnam
Robert Hartzell  writes:

> Harry Putnam wrote:
>> Sean  writes:
>>
>>> We just compile it ourselves. It builds without any issues.
>>
>> It fails here when ./configure is run like this:
>>
>>   ./configure --prefix=/usr/local/src/test --with-mysql \
>> --includedir=/usr/mysql/5.1/include/mysql/
>>
>>  [...]
>>
>> checking for MySQL support... no
>> configure: error: Unable to find mysql.h in standard locations
>>
>> The file `mysql.h' is where I told configure to look:
>>
>> ls -l /usr/mysql/5.1/include/mysql/mysql.h
>>
>> -r--r--r-- 1 root bin 33654 ... /usr/mysql/5.1/include/mysql/mysql.h
>>
>
> I have never used the "--includedir" option but LDFLAGS has worked
> well for me,
>
> LDFLAGS="-L/usr/postgres/8.3/lib -R/usr/postgres/8.3/lib"
> export LDFLAGS;
>
> ./configure ...
>
> just adjust the path for mysql.

Setting that like you suggest:
LDFLAGS="-L/usr/mysql/5.1/lib -R/usr/mysql/5.1/lib";export LDFLAGS

./configure --prefix=/usr/local/src/test --with-mysql

[...]
* Seems to make no difference at all...  Still ends with the same
error:

  checking for MySQL support... no
  configure: error: Unable to find mysql.h in standard locations

ps- I also tried with includedir set after setting LDFLAGS as above.
Same result... same error.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-21 Thread Robert Hartzell

Harry Putnam wrote:

Sean  writes:


We just compile it ourselves. It builds without any issues.


It fails here when ./configure is run like this:

  ./configure --prefix=/usr/local/src/test --with-mysql \
--includedir=/usr/mysql/5.1/include/mysql/

 [...]

checking for MySQL support... no
configure: error: Unable to find mysql.h in standard locations

The file `mysql.h' is where I told configure to look:

ls -l /usr/mysql/5.1/include/mysql/mysql.h

-r--r--r-- 1 root bin 33654 ... /usr/mysql/5.1/include/mysql/mysql.h



I have never used the "--includedir" option but LDFLAGS has worked well 
for me,


LDFLAGS="-L/usr/postgres/8.3/lib -R/usr/postgres/8.3/lib"
export LDFLAGS;

./configure ...

just adjust the path for mysql.


--
 Robert W Hartzell
bear at rwhartzell.net
  RwHartzell.Net
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-07-21 Thread Harry Putnam
Sean  writes:

> We just compile it ourselves. It builds without any issues.

It fails here when ./configure is run like this:

  ./configure --prefix=/usr/local/src/test --with-mysql \
--includedir=/usr/mysql/5.1/include/mysql/

 [...]

checking for MySQL support... no
configure: error: Unable to find mysql.h in standard locations

The file `mysql.h' is where I told configure to look:

ls -l /usr/mysql/5.1/include/mysql/mysql.h

-r--r--r-- 1 root bin 33654 ... /usr/mysql/5.1/include/mysql/mysql.h

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Sean
We just compile it ourselves. It builds without any issues.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Seymour Krebs
IPSbacula can be found in the Blastwave repository.

http://blastwave.network.com:1/
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Chris Du
It's available in blastwave repository.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Shawn Walker

On Jun 17, 2009, at 10:53 AM, Harry Putnam wrote:

Shawn Walker  writes:


On Jun 17, 2009, at 10:00 AM, Harry Putnam wrote:

Anyone know if the backup tool bacula is available to `pkg install'
from one of the repositories?


Not as far as I know.

You can always find out by doing this:

pkg search bacula

...if it doesn't find it, chances are there isn't a package for it,
especially if bacula is the name of the executable.


That would only tell if I had on the local machine.


Not anymore; as of 2009.06, pkg(1) will perform remote searches by  
default instead of '-l'.



even `pkg search -r bacula'  will only find it if I have more repos
than dev on tap.


True, but there are very few repositories other than blastwave,  
sunfreeware, and pkg.opensolaris.org


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Harry Putnam
Shawn Walker  writes:

> On Jun 17, 2009, at 10:00 AM, Harry Putnam wrote:
>> Anyone know if the backup tool bacula is available to `pkg install'
>> from one of the repositories?
>>
> Not as far as I know.
>
> You can always find out by doing this:
>
> pkg search bacula
>
> ...if it doesn't find it, chances are there isn't a package for it,
> especially if bacula is the name of the executable.
>
That would only tell if I had on the local machine.

even `pkg search -r bacula'  will only find it if I have more repos
than dev on tap.

I wondered if any of the other repos some opensolaris users
access.. (that I may not no about)... would have bacula. 

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Shawn Walker

On Jun 17, 2009, at 10:00 AM, Harry Putnam wrote:

Anyone know if the backup tool bacula is available to `pkg install'
from one of the repositories?


Not as far as I know.

You can always find out by doing this:

pkg search bacula

...if it doesn't find it, chances are there isn't a package for it,  
especially if bacula is the name of the executable.


Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Is `bacula' available in a pkg repository somewhere

2009-06-17 Thread Harry Putnam
Anyone know if the backup tool bacula is available to `pkg install'
from one of the repositories?

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org