Old 09-17-2011, 02:11 PM   #1 (permalink)
Untangler
 
Join Date: Jun 2010
Posts: 64
Catsrules is on a distinguished road
Default Ntop filled up my Hardrive

Ok so, I am very new to ntop. I got it all installed and running. Was in the middle of playing around with it. Then Life got in the way and I put ntop of the back burner. That was about a month ago. I guess it started to slowly eat away at my memory. It is only a 40GB drive in my Untangle box. Well now a month later it is 100% used according to df command. So Untangle web interface is down, Ntop web interface is down. I have tried to restart ntop from a terminal. But it can't even start that. I have shutdown rebooted untangle, but it is still at 100% used up.
So where does Ntop store it's data. so I can delete it and clear it out?

Thanks
Catsrules is offline  
Old 09-18-2011, 12:37 AM   #2 (permalink)
Untangler
 
RatKnight's Avatar
 
Join Date: Nov 2010
Location: Shepherd University
Posts: 56
RatKnight is on a distinguished road
Send a message via Skype™ to RatKnight
Default

Ouch...

This is why I bought a Dell R610... 1 TB of HD space, I basically never fill er up, lol.

Honestly dude, at this point, I think your best bet is going to be a reinstall... did you have it backed up?

Also, can you access the terminal from the physical untangle box, that opens up some options.

Andy
__________________
I am a Networking and Security Student. So, if I am wrong about something, please feel free to point it out. We learn from our mistakes, not from being right :)
RatKnight is offline  
Old 09-18-2011, 02:18 AM   #3 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,457
sky-knight is on a distinguished road
Default

Your best option is to not run hacks that are known to cause this sort of issue. nTop does bad things to Untangle, it's best not to install it.

To fix it, there is a way to search through the filesystem and find the folders that are eating the room. But I can't remember the command for the life of me.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 09-18-2011, 02:31 PM   #4 (permalink)
Untangler
 
Join Date: Jun 2010
Posts: 64
Catsrules is on a distinguished road
Default

Quote:
Originally Posted by RatKnight View Post
Ouch...

This is why I bought a Dell R610... 1 TB of HD space, I basically never fill er up, lol.

Honestly dude, at this point, I think your best bet is going to be a reinstall... did you have it backed up?

Also, can you access the terminal from the physical untangle box, that opens up some options.

Andy
HAHA yeah, 1TB HD would have been a bit over kill for my little network of 10-15 clients, But I didn't know ntop was such a space sucker.

I think I have a backup around here somewhere. I remember I made one before I installed ntop. But I would like leave that as a last resort.

Yes I should be able to access the terminal on the physical box, just need to dig out a old LCD screen. But I thought SSH terminal could do everything a physical terminal could do.

Would uninstalling ntop clear out everything?
Catsrules is offline  
Old 09-18-2011, 02:43 PM   #5 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,457
sky-knight is on a distinguished road
Default

SSH can do everything the local terminal can, there is no difference. Other than one requiring the box to boot enough for a service to start.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 09-18-2011, 02:54 PM   #6 (permalink)
Untangler
 
Join Date: Jun 2010
Posts: 64
Catsrules is on a distinguished road
Default

I tried to uninstall ntop and it seam to have done the trick, it is still working at it but so far it has gone from 100% to 90% usage and still falling!!. But I still can't access untangle web interface, I tired /etc/init.d/apache2 start but it failed. Hopefully it will just require a reboot. I will try that after ntop has finished uninstalling.
Catsrules is offline  
Old 09-18-2011, 03:18 PM   #7 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,457
sky-knight is on a distinguished road
Default

If nTop's DB was the culprit it will take some time to remove all that stuff. I wouldn't suggest rebooting.

When the uninstall is done, just try this

/etc/init.d/untangle-vm restart
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 09-18-2011, 05:32 PM   #8 (permalink)
Untangler
 
Join Date: Jun 2010
Posts: 64
Catsrules is on a distinguished road
Default

I get an error. in the /var/log/uvm/console.log I get
:FATAL ERROR: Can not connect to database. Is postgres running?
:UVM shutdown complete
Anyideas?
Catsrules is offline  
Old 09-18-2011, 05:37 PM   #9 (permalink)
Untangler
 
Join Date: Jun 2010
Posts: 64
Catsrules is on a distinguished road
Default

when I try to restart postgressql-8.3 I get
MDT Log: could not translate host name "localhost", service "5432" to address: Name or service not know
MDT warning: could not create listen socket for "localhost"
MDT FATAL: could not create any TCP/IP sockets.
Catsrules is offline  
Old 09-18-2011, 05:47 PM   #10 (permalink)
Master Untangler
 
Join Date: Dec 2010
Location: Echuca, Victoria, Australia
Posts: 256
pazza3564 is on a distinguished road
Send a message via MSN to pazza3564 Send a message via Yahoo to pazza3564 Send a message via Skype™ to pazza3564
Default

Its looking like a re-install is needed....
pazza3564 is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:24 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2