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.
The routing table, this is a linux'ism. Use netstat -rn but be aware that the output differs slightly. debian:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ..... solaris:~# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- ..... > 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. > > Thanks in advance, > Paul > > > > > > > ------------------------------------------------------------------------- > 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 > > ------------------------------------------------------------------------- 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