On Wednesday 08 November 2006 19:52, A Think Tank wrote:
> 
> I am trying to go though the rescue procedures / preparation for
> Solaris, SunOS 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240,  as directed
> by the documentation.   I have a couple of errors with the command
> /usr/local/src/bacula-rescue-1.8.6/solaris/getdiskinfo
> 
> Error on if statement
> 
> Begin collecting system info
> ./getdiskinfo: test: argument expected
> 
> I changed the if syntax to read:
> - if [ -e /etc/fstab ]; then
> + if [ -r /etc/fstab ]; then
> for all instances of the -e expression and it seemed to work just fine.
> It identified that i have a vfstab file and read that.
> 
> Error on route command.
> 
> "route -n >route.bsi"
> error message
> usage: route [ -fnqv ] cmd [[ -<qualifers> ] args ]
> 
> I am just not sure how to fix this, because I am not sure what the
> command is trying to gather.
> Currently both the df.bsi and route.bsi files are empty.  The other
> files seem to have been created just fine.
> 
> I presume that the df.bsi file should contain data, but again, not sure
> what and there was no error message.
> 

Hmmm. The problem is that no one has yet converted the Linux scripts to work 
on Solaris.  There are a lot of important and subtle differences between 
Linux and Solaris, eg most "if [ -e xxx ]"  should be "if [ -f xxx ]" ...

There are also a lot of major differences in terms of what info needs to be 
saved to reconstruct a system.

I suspect that you might be better off starting with some existing Solaris 
script that saves the system, then adding to it the necessary Bacula stuff.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to