![]() |
So, you do a ps, and don't see your processes; have you validated that they really are running?
What are the perms on /proc? To start something as root as another user, use su su weather -c "/your/comand/here " Quote:
|
Here's an idea: tell me if I'm misguided...
I can purchase a good external drive dedicated to testing out flavors of Linux. Just hook the drive up to one of my laptops, download the latest flavor, ISO format it to CDR or CDRW, then execute onto the external. Plug and play afterward. What do you guys think? SmileWavy |
dd, did you get the MEPIS disk?
|
Quote:
|
Jeff uses Linux for his OS. He loves Linux, so if you have a question he can't answer I guarantee you he will find the answer. I think his brain is in binary code! ha He has even taught his teachers some tricks at the technical college he attends. He is currently working on his A+ certification and Cisco certification. The questions will also help him learn more and possibly teach you something too....
He's my son, so I think more of him than most if you can't tell! ha |
*
|
Thom -
Yeah, when I ps -A to see everything, I don't see the java command running, but I finally did get the correct sql service going. In my /etc/init.d (I think... may need to check that) I have an entry like... su -c weather - "/home/weather/java/run.sh" and my run.sh looks something like: #! /bin/sh cd /home/weather/java java -noverify DataGrabber If I run the .sh from terminal, it runs fine... I'm just not getting it to run at startup correctly... |
Quote:
You can also turn on debugging, redirect stderr to a file, reboot, and look at the contents of the file to see what's going on. #! /bin/sh PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin export PATH set -x exec 2> /tmp/weather.log cd /home/weather/java java -noverify DataGrabber |
Its just not finding the java executable to run the java program with. At a command prompt, type
which java And it may return something like /usr/local/j2sdk/bin/java Edit the startup script that is calling the weather app (in /etc/init.d from your earlier post) and change the last line from java -noverify DataGrabber to /whatever/which/output/for/you/java -noverify DataGrabber And it should work. |
Count me in, brothers. I bought an older laptop (366mhz) on a lark just to see if I could get Linux to make it sing. Tried a couple of the popular Live CD Distros (Slax, Knoppix 36, Knoppix 3.7, Mepis, Knoppix-STD) and now I am hooked. Finally settled on Mepis and installed it on the hard drive. Works like a champ - even on my ancient laptop. Now I'm burning Linux CD's and giving them away to friends to share the love. I can't believe how well this system works on just 128meg of RAM. So I haven't bothered to investigate any Linux speed tweaks - but I'll probably get around to it some day.
Just curiosity, does anybody have a handle on how secure or insecure Linux is? I tried Mepis mainly because it comes with a firewall that automatically installs itself. So that seemed sweet. Fell in love with it when it auto-configured all of my hardware without any human interference (well, except for my scroll mouse which is still DOA). Anyway, I am a convert. Seems to be the only case where you don't get what you pay for. I've used the free web browsers, FTP app, text processor, calculator, graphics viewer, etc etc and it all seems to be pretty top quality stuff. I can find nothing to complain about. :D |
Hmm... I downloaded Knoppix a few months back to hack into some files that Windoze wouldn't let me delete...
Prollum is, I use a bootable CD-ROM and it won't let me access anything on my drives... Is there a way to point to your DOS partitions with it? |
Chris, I believe you should be able to map the DOS drives to knoppix, but it's been a while since i tinkered, so hopefully one of the other fellas will give you the specifics.
VMWare rocks. If you get a Linux session running in VMWare you can map your Windows partitions, put files in them, and then they are accessible in your host OS. Linux is much more secure than Windows if you take some time to make it that way. Some distributions can leave lots of open ports during install. Getting a firewall running on the box is a good idea on any OS. |
You should be able to mount the hard disk partitions. If i remember correctly knoppix provides mount points. Also, I was under the impression that it automounted whatever disk partitions it could. If you could give me the output (command line) of the 'mount' command. Also, is the disk IDE or SCSI? There are a number of things that could be contributing to this. E-mail me at mjb8@lehigh.edu or AIM s/n bombardius. We'll figure this out
-mike baby on the way (and by 'baby' i mean '72 2.0 914) |
All times are GMT -8. The time now is 08:05 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website