Jump to content

Recommended Posts

Posted
So is "install-dgav" definitely, 100% in /tmp/ now?

 

How about

 

ls /root/tmp

 

(how did you transfer on the dgav files?)

 

I transfered them via WinSCP

 

try redownloading the file as it sounds like either the file is corrupt or it hasn't been extracted properly.

 

You haven't forgotten the '-C /' bit on the end of the extraction command have you?

 

Nope didnt forget.

Posted

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.

Posted

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/

Posted
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.

 

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?

 

Ah... tmp may well be mounted noexec. /root/tmp won't suffer from that tho

 

What :confused:

 

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

Posted

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.

Posted

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:

 

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.

Posted
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

Posted (edited)

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.

Edited by nile_c
Posted
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:

 

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



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) ~ $ 

Posted
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:

 

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



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

Posted

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

Posted

/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

Posted

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

 

use PuTTY to SSH into the box and type:

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...

c:\path\to\putty\pscp.exe -P 222 c:\path\to\download\blah.tgz root@smoothieIP:/tmp/

Posted

Hi,

 

Right brand new install of smoothwall express here.

 

In the root i have but the tmp folder. I have put the .tgz file in there. I have now run this command in Smoothwall and get this error.

 

Sorry about this guys im not a Linux person at all.

 

Cheers for all the help

newsmoothie.PNG

Posted
cd /tmp

tar zxvf DGAV

 

cheers that has extracted the files into the tmp folder. Inside the tmp folder there is another folder called tmp. Inside that there is a file called install-DGAV. When i try and run the command i get the attached.

 

Thanks

install.PNG

Posted
Hi,

 

Right brand new install of smoothwall express here.

 

In the root i have but the tmp folder. I have put the .tgz file in there. I have now run this command in Smoothwall and get this error.

 

Sorry about this guys im not a Linux person at all.

 

Cheers for all the help

 

Is the tar options case sensitive? I think they are. You've put -c and you need -C

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...