[Bacula-users] Compiling 3.0.2 on OpenSolaris

2009-09-12 Thread Joseph L. Casale
I have MySQL installed and used a configure script like so:
CFLAGS=-g ./configure \
  --prefix=/opt/bacula \
  --sbindir=/opt/bacula/bin \
  --sysconfdir=/opt/bacula/bin \
  --with-mysql=/usr/mysql/5.1 \
  --enable-smartalloc \
  --with-pid-dir=/opt/bacula/bin/working \
  --with-subsys-dir=/opt/bacula/bin/working \
  --with-working-dir=/opt/bacula/working \
  --disable-build-dird \
  --enable-build-stored

I didn't see any issue during the configure or while running make install.
The binaries were built but when I try to run bacula-sd nothing happens,
not even an error. One thing I am not sure about is who to run it under in
OpenSolaris, but inside a pfexec bash, if I run it in the foreground it still
doesn't do anything?

Any pointers?
Thanks!
jlc

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling 3.0.2 on OpenSolaris

2009-09-12 Thread Fahrer, Julian
I would suggest running in debug mode (-d).
The Init script changes to the correct user. So run the init script with pfexec.
You should also check for the right permissions on the logfiles. Maybe it is a 
problem with connecting to the database.

-Ursprüngliche Nachricht-
Von: Joseph L. Casale [mailto:jcas...@activenetwerx.com] 
Gesendet: Samstag, 12. September 2009 08:14
An: 'bacula-users@lists.sourceforge.net'
Betreff: [Bacula-users] Compiling 3.0.2 on OpenSolaris

I have MySQL installed and used a configure script like so:
CFLAGS=-g ./configure \
  --prefix=/opt/bacula \
  --sbindir=/opt/bacula/bin \
  --sysconfdir=/opt/bacula/bin \
  --with-mysql=/usr/mysql/5.1 \
  --enable-smartalloc \
  --with-pid-dir=/opt/bacula/bin/working \
  --with-subsys-dir=/opt/bacula/bin/working \
  --with-working-dir=/opt/bacula/working \
  --disable-build-dird \
  --enable-build-stored

I didn't see any issue during the configure or while running make install.
The binaries were built but when I try to run bacula-sd nothing happens,
not even an error. One thing I am not sure about is who to run it under in
OpenSolaris, but inside a pfexec bash, if I run it in the foreground it still
doesn't do anything?

Any pointers?
Thanks!
jlc

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling 3.0.2 on OpenSolaris

2009-09-12 Thread Joseph L. Casale
I would suggest running in debug mode (-d).
The Init script changes to the correct user. So run the init script with 
pfexec.
You should also check for the right permissions on the logfiles. Maybe it is a 
problem with connecting to the database.

Tries the -d switch, I am only running the Storage Director, so no db involved.
I also tried running the init script with pfexec and nothing happens?

Thanks!
jlc

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling 3.0.2 on OpenSolaris

2009-09-12 Thread Robert Hartzell

On Sat, 2009-09-12 at 06:13 +, Joseph L. Casale wrote:
 I have MySQL installed and used a configure script like so:
 CFLAGS=-g ./configure \
   --prefix=/opt/bacula \
   --sbindir=/opt/bacula/bin \
   --sysconfdir=/opt/bacula/bin \
   --with-mysql=/usr/mysql/5.1 \
   --enable-smartalloc \
   --with-pid-dir=/opt/bacula/bin/working \
   --with-subsys-dir=/opt/bacula/bin/working \
   --with-working-dir=/opt/bacula/working \
   --disable-build-dird \
   --enable-build-stored
 
 I didn't see any issue during the configure or while running make install.
 The binaries were built but when I try to run bacula-sd nothing happens,
 not even an error. One thing I am not sure about is who to run it under in
 OpenSolaris, but inside a pfexec bash, if I run it in the foreground it still
 doesn't do anything?
 
 Any pointers?
 Thanks!
 jlc
 
Did you test the config file?
/path/to/bacula-sd -t -c /path/to/bacula-sd.conf

I run bacula-sd as user  group bacula

-- 
  Robert W Hartzell
bear at rwhartzell.net
   RwHartzell.Net


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling 3.0.2 on OpenSolaris

2009-09-12 Thread Joseph L. Casale
Did you test the config file?
/path/to/bacula-sd -t -c /path/to/bacula-sd.conf

Yup, no warning.

I run bacula-sd as user  group bacula

Heh, turned out that the install scripts never created the
pid directory! Why there was no error, who knows:)

Working now!

Thanks everyone!
jlc

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users