Internet Related/Filtering/Firewall Thread, Antivirus Add-on for Smoothwall. in Technical; Originally Posted by nile_c There's probably possibly a permissions problem, but you screenshot has cropped out the goodies :-D Try ...
1. Originally Posted by nile_c
There's probably possibly a permissions problem, but you screenshot has cropped out the goodies :-D

Try this:
sh ./path/to/install-dgav
the stuff i clipped out was previous commands i tried.

Originally Posted by computer_expert
just did a test run on a virtual smoothie.

install-dgav didn't run when i was in the /tmp dir, but as soon as i changed to / and ran install-dgav, the script worked

edit - as did the command i posted on the last page.
ok so if i put it in the root it should work?

Originally Posted by tom_newton
Ah... tmp may well be mounted noexec. /root/tmp won't suffer from that tho
What

Originally Posted by nile_c
Also, install-dgav is a symlink to '/var/smoothwall/mods/filtering/dgav/install.pl'

Because it isn't relative, then if you havn't untarred to '/' then it will get rather confused.

Check everything is where it should be:
ls -l /var/smoothwall/mods/filtering/dgav/
Im lost abit now

2. Originally Posted by FN-GM
ok so if i put it in the root it should work?
put the dgav .tgz file into /tmp & extract it with the command given on the DGAV install instructions page, then type 'cd /', press enter (which should take you to '/'), then run '/tmp/install-dgav' which should install it for you.

3. When you originally extracted everything the '-C /' flag should cause everything to be extracted from a base location of '/'. This is the very top of your filesystems tree.

Your '/tmp/install-dgav' file from the archive is actually a symbolic link. It says "I'm not here, look over THERE"
In this case, the "THERE" is '/var/smoothwall/mods/filtering/dgav/install.pl'

If the archive was extracted correctly, this file should be present and correct. You should be able to run it directly like so:

Code:
perl /var/smoothwall/mods/filtering/dgav/install.pl
If the file is not found at this point, then either the archive was damaged or it wasn't extracted into the root '/' directory.

4. there is no mods folder there.

2 people are telling me 2 things , i will follow smoothwall first then computer_expert.

5. Originally Posted by FN-GM
there is no mods folder there.
In which case it probably hasn't been extracted correctly as it should create the needed directories.

I'd redownload the DGAV archive, just to rule out any possibility of a corrupt archive

6. ok do i need to get rid of some files already extracted? What do i get shut of?

7. I would do what computer_expert suggested in post #32 and start from the beginning.
Once the archive is extracted in the right place, the install should work as planned.

EDIT: Yes there may be some leftover files from the archive, if you had extracted it in your home directory for example. Any junk in your /tmp will be purged at some point in the future.

8. But do i need to get rid of any old files from the first extraction first?

Thanks

9. Originally Posted by FN-GM
ok do i need to get rid of some files already extracted? What do i get shut of?
delete the dgav .tgz file from '/tmp', then redownload it (& copy it across to the smoothie's /tmp folder)

now log into the smoothie via putty (or similar) and type 'tar -zxvf /tmp/DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz -C /' to extract it.

then run '/tmp/install-dgav' to install it

Here is the output of a successful installation of dgav:

Code:
testsw (root) ~ $tar -zxvf /tmp/DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz -C / tmp/install-dgav var/smoothwall/mods/filtering/dgav/archives/dgav.bz2 var/smoothwall/mods/filtering/dgav/version var/smoothwall/mods/filtering/dgav/installed var/smoothwall/mods/filtering/dgav/install.pl <snip> usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/ usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/Semaphore.pm testsw (root) ~$ /tmp/install-dgav

About to Install dgav - version DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012
Installing Base Files
Installing dgav Files
Installing Config Files
Updating Green IP Address Information                                           [192.168.1.49]
Patching sysinit
Restarting Smoothd                                                              [OK]
Finished Installing dgav

testsw (root) ~ $ 10. Originally Posted by computer_expert delete the dgav .tgz file from '/tmp', then redownload it (& copy it across to the smoothie's /tmp folder) now log into the smoothie via putty (or similar) and type 'tar -zxvf /tmp/DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz -C /' to extract it. then run '/tmp/install-dgav' to install it Here is the output of a successful installation of dgav: Code: testsw (root) ~$ tar -zxvf /tmp/DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012.tgz -C /
tmp/install-dgav
var/smoothwall/mods/filtering/dgav/archives/dgav.bz2
var/smoothwall/mods/filtering/dgav/version
var/smoothwall/mods/filtering/dgav/installed
var/smoothwall/mods/filtering/dgav/install.pl

<snip>

usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/
usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Util/Semaphore.pm
testsw (root) ~ $/tmp/install-dgav About to Install dgav - version DGAV-SW3-2.8.0.6-6.4.4.2-i686-b012 Installing Base Files Installing dgav Files Installing Config Files Updating Green IP Address Information [192.168.1.49] Patching sysinit Restarting Smoothd [OK] Finished Installing dgav testsw (root) ~$
Right thanks, its the tmp file in the root folder?

Thanks

11. Originally Posted by FN-GM
Right thanks, its the tmp file in the root folder?

Thanks
No.

It should be a folder on the top level of the filesystem (eg. /tmp = C:\tmp for windows machines)

12. Sorry thats what i mean

Thanks

13. Right i am doing a new clean install its only on a test VM anyway.

Last time i had to create the tmp directory. Should this need to be done or was i doing something stupid?

Thanks

14. /tmp should already exist.

I checked on a commercial smoothie and it isn't noexec, so it probalby isnt on express either - so thats not your problem. But if you have to make it, something is badly up. Be sure you're in / to begin with

15. Are you sure that you are looking at the root of the drive?

use PuTTY to SSH into the box and type:
Code:
cd /
ls -l
That should give you a pretty directory listing of the disk's root... containing /tmp

Personally, I would then use PSCP to transfer your file directly to /tmp...
Code:
c:\path\to\putty\pscp.exe -P 222 c:\path\to\download\blah.tgz root@smoothieIP:/tmp/

SHARE:
+ Post New Thread
Page 3 of 5 First 12345 Last