Forums : *sigh* Big problems

Note: OldMan can be sporadic in his visits. If you do not get an answer fast enough, just contact him.

It is currently Tue Oct 17, 2017 12:39 pm All times are UTC -4 hours

*sigh* Big problems

CreepTyrant

C
Sat Dec 17, 2005 11:02 pm
Quote
Well I was very happy with my setup on the sg20 and had done a lot of work customizing things, setting up custom vpn access and custom usermin access for file sharing and such. Still had not solved the port forwarding issues, but aside from that I was really pleased with my progress and was enjoying the features I was using.
Today without my consent or knowlege, a friend of mine was using one of the client systems here to play some online games, another friend of mine remotely connected to usermin and decided to download some pictures and upload some pictures. Friend #1 (the gamer) gets mad because the internet connection gets laggy, so he concludes that someone must be downloading from the sg20, so he goes and turns of the power to disconnect anyone connected to the unit and reset it so he can keep gaming wihtout the lag. I chewed him out for it, because I allow certain people to access the machine during the day while I am at work and I felt he had no right to just decide to disconnect someone from MY equipment. Anyway, the problem is that now that he did that, I cannot access webmin anymore, cannot access usermin either. I cannot login over telnet for more than a split second, I can login to telnet, but the instant I get logged on, I get "Connection to host has been lost.". The only admin access I have is the Toshiba SG20 admin page, which doesn't really allow you to do anything that will help.
I feel royally screwed at this point, unable to access any filesystems on the sg20 at all, thankfully it IS still working as a router and sharing the internet connection for my network, however I cannot access any of the shared folders that are on drive 2, in fact, any access to the 2nd harddrive is impossible, and the LCD is continuously displaying "System Starting" indefinitely, even though it has been up and running for several hours now.
I have no idea what I can do to regain access to the unit's filesystems again and correct whatever has gone wrong, or hopefully at least retrieve my data that was stored there so I can re-install the unit again from scratch.
Any ideas?
I think I am going to need that Image file you mentioned, if I could get that I would greatly appreciate it, then all I need to do is figure out how I can get that image put on one of these drives.
I do have an old laptop here with a 40 gb hdd in it, the screen was broken a long time ago, but the HDD still works, so at least I have an extra drive to play with, but I don't have any adapters (3.5 to 2.5) to convert the regular IDE to the laptop sized IDE interface, so ghosting the image onto the drive via one of my other systems isn't going to work.
I hope there is something I can do to fix this thing, and I really hope I can salvage my data, I hate to have to re-do all the work I put into this thing.

Don't take life too seriously......it's not permanent.

CreepTyrant

C
Sat Dec 17, 2005 11:20 pm
Quote
Shortly after posting this I was going through every single page of the Toshiba appliance admin page that I still have access to, I am wondering if I can get a backup file of the system intall, since it will allow a restore through the network, would I be able to basically reinstall the unit using it's restore from backup feature if I make sure "Restore System Files" is checked?
I'm glad I installed the Linux version of Ventrilo on the 1st HDD, at least it's still up and running, so my users can still access VOIP through it.

Don't take life too seriously......it's not permanent.

AnOldMan

A
Thu Dec 29, 2005 11:41 pm
Quote
If you still have Admin pages access you can re-install webmin. It sounds like you have a fatal file-systems error on your 2nd drive. You can try a proper shutdown, remove 2nd drive, and re-boot.
Admin file restore only works if you did a admin-based file backup in the first place!
Yet another reason to use your 2nd drive for snapshot, not extra storage space. You can always add a NAS to your network if you want storage space!
Win2k and XP don't like this version of samba much. An easy workaround is to install NETBEUI on your machines (for xp look on the xp cd) http://support.microsoft.com/default.aspx?scid=kb;en-us;301041&sd=tech
To get xp to play nice with the printer you need to install LPR on the xp box. http://www.microsoft.com/windowsxp/using/networking/learnmore/printservicesunix.mspx

CreepTyrant

C
Fri Dec 30, 2005 7:08 am
Quote
Well I managed to hack my way back into the box and I now at least have telnet access. I tried to RPM webmin back onto the machine, but apparently it is still installed, I don't know how to find out from a bash prompt if webmin is actually running, I am thinking maybe when my buddy screwed it up he might have tried accessing the Webmin administration too many times, I had it set to disallow any access after so many attempts, in my mind I was figuring no one would ever be trying to access it too many times from my personal PC, I guess I was wrong. Either way, I still cannot access webmin from any PC, just on a whim I even went over to another friends hosue and tried via VPN, which is still also working, but still not allowing access to webmin. I get a "Error- Server refused connection." message.
As for the 2nd disk drive I did as you said, removed it, rebooted and I can access the second drive again (only via telnet) but all the data is gone and all the folders are missing. I originally had it setup as a snapshot drive, but I couldn't get any of the clients to share a folder through the sg20. I followed the procedures layed out in several other sites using mnt and sbmnt or something, I forget exactly the syntax and commands at this moment, but I know I followed their instructions, even to the point of copy pasting the lines so I would have the exact syntax, and even the same folder names, just to be sure.
I see in the other thread you mentioned that nt/xp have some issues with this, I will follow up on that later, since now the more important issue is getting this thing accessible again.
I know the sg20's are supposed to have redhat 7.3 installed but mine had 7.0 and I have had a lot of issues installing certain things because of that.
I went to magnia.org and downloaded the 2.6 image (is the image file REALLY that small? file= sg20-v26.tib @ 209mb). I am already hunting to find an external 2.5 inch HDD enclosure (usb) so I will have some method by which to flash the image to that drive, unless there is some way I can do this via telnet and tell the system to flash that image to the second hard drive. Would that be possible so I don't have to use a different machine since at the moment I don't have any other machines equppied to use laptop hdd's?
Again, I apologize for the excessive length of my posts, this is an extreme learning process, I haven't enjoyed learning anything like this since I was a kid. Despite the issues and difficulties, it has been a refreshing challenge and I was thoroughly enjoying working with the sg20 until he crashed it.
Oh, and also, the LCD still constantly displays "System Starting" even though it is up and running, Samba is still sharing one folder to each user with the appropriate quotas and the Ventrilo I manually installed still starts and runs when the server boots.

Don't take life too seriously......it's not permanent.

AnOldMan

A
Fri Dec 30, 2005 7:12 pm
Quote
I've never used TrueImage with an external USB enclosure. I think it might work. I use a 3.5" to 2.5" adapter which cost me all of $3.95 and every cheap USB enclosure I've ever tried had issues.
If you can Telnet, killall webmin (yeah, that's the command!) and then restart it. You need to su - to root.

CreepTyrant

C
Sat Dec 31, 2005 5:32 pm
Quote
Hmm, okay, tried killall webmin and I got this:
webmin: No process killed
I tried typing webmin, exec webmin, run webmin and anything else I could think of to tell it to start webmin. It's like it's not there, I'm heading to the linux command list and keep trying.
Thanks a lot for all the help so far!

Don't take life too seriously......it's not permanent.

CreepTyrant

C
Mon Jan 02, 2006 2:00 am
Quote
WOOHOO!!!
Persistence pays off!
I kept looking and looking and finally found a site with a little bit of info that helped me get my Webmin back up and working again!
I had to manually edit a file called miniserv.conf, apparently after failed atempts to login to the system the offending IP is automatically blocked from any further connection to Webmin. In my case Webmin was configured to disallow any access after so many failed attempts to login as the ROOT user, so I had to use my telnet connection and manually locate that file and remove the IP's from the DENY list, then stop Webmin and restart it. Once I did all that I got right back in like I had it before, thankfully nothing lost there and all my hours of customizing were not lost, so far the only things I see lost are the files I had shared on the Second HDD.
I still want to upgrade to RH 7.3 and Build 2.6, but I am really happy I didn't lose everything I had done. Now if I can just figure out how to get a folder on one of these clients to share through the SG20 I wouldn't even bother with sharing files on the 2nd Disk, but rather I would just let my extra computer sitting here server the files I wish to share, which is what I wanted to do in the first place so I could use the 2nd Disk for the snapshot backup like it is supposed to be doing.
I tried several ways of sharing folders from the extra PC, but the sg20 isn't showing them to users, local or remote, the only file sharing we get at the moment is through VPN, I know there is a way to do what I am trying to do, I just haven't found the right solution yet. Just to clarify, the goal here is to allow trusted friends access to my network via the sg20 through a Usermin account I create for each user (which I already did and have working). So far this has worked out great, but I was limited to what I can share because the sg20 doesn't exactly have a lot fo storage space, and users uploading pictures or whatever took up that small bit of space very quickly. So I looked into sharing a folder from my extra computer which has a much larger, relatively empty HDD in it. In theory if shared properly, I should be able to get the sg20 to show that folder to the Usermin users via the File Manager, as if it was just another folder on the server, but in reality it hasn't been working. I don;t knwo if I am doing something wrong, or if there is an issue with compatibility or what, all I know is it CAN be done, and it would bemuch wiser for me to share the files that way so I can eliminate sharing of the 2nd HDD on the unit and revert it to being the backup snapshot drive for the sg20.

Don't take life too seriously......it's not permanent.

AnOldMan

A
Mon Jan 02, 2006 8:56 pm
Quote
I had a drive failure in one of the magnias on my VPN. It was due to the security cameras uploading snapshots constantly. I literally wore out the drive. To alleviate this problem I connected a LINKSYS NSLU2
http://www1.linksys.com/products/product.asp?prid=640&scid=43
and used SAMBA on the magnia to map the network drive (called mounting) onto the public filesystem of the magnia.
As far as network users are concerned, the magnia now has over 160mb of disk space! (local network users can also see the NSLU2 directly)
You can also do this with any other SAMBA-based NAS drive. I have one of these enclosures as well:
http://www.geeks.com/details.asp?invtid=HD363N&cat=NET
HD363N 3.5" External Network HDD. I am even happier with it than the Linksys. This device spins down the drive if there is no activity for 15 minutes. I did have some initial problems with it locking up, but a firmware upgrade and a 80 conductor HDD cable solved them.

CreepTyrant

C
Tue Jan 03, 2006 10:24 pm
Quote
Funny you should post that just after I finished figuring out how to share/mount my client shared folders through the magnia. Apparently some of my disk and file management packages were not installed in the right places, I moved the files to the 'default' locations and got it working. Very similar to what you accomplished, my Magnia now has another folder with an extra 100GB of storage space, in reality that folder is actually on one of my extra client computers, once the disk and file management was working properly, I was able to use webmin to mount that client's shared folder into linux.
Slightly different approach than your use of an actual network storage device, but the end result is the same. Now as far as any of my users are concerned the server has 100gb more storage space for them to use.
Boy what a major hassle fixing all these incorrectly installed modules and stuff, but what a learning experience! I've learned more about linux in the last 2 months than I have in 26 years of working with computers!
BTW, I just wanted to say thanks a lot for the bits of advice, every little piece of information has been a help, maybe not solving a problem outright, but giving me enough insight to find the solution with a little extra effort.
I am so glad this site exists for Magnia users, I think this appliance has an awful lot of potential that was overlooked a great deal. I am enjoying the linux learning experience so much now, that I tossed together another computer out of a bunch of random spare parts I had laying around and I installed linux on it and attached it to the network. The computer itself isn't anything spectacular (an old pII450) but I have Caldera Linux on it with the KDE GUI and I thought it might be nice to play with linux on something I can interact with directly with a keyboard and mouse.

Don't take life too seriously......it's not permanent.