![]() |
|
|
|
Too big to fail
|
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:
__________________
"You go to the track with the Porsche you have, not the Porsche you wish you had." '03 E46 M3 '57 356A Various VWs |
||
![]() |
|
drag racing the short bus
Join Date: May 2002
Location: Location, Location...
Posts: 21,983
|
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? ![]()
__________________
The Terror of Tiny Town |
||
![]() |
|
Licensed User
Join Date: Feb 2003
Location: ....down Highway 61
Posts: 6,506
|
dd, did you get the MEPIS disk?
|
||
![]() |
|
drag racing the short bus
Join Date: May 2002
Location: Location, Location...
Posts: 21,983
|
Quote:
![]()
__________________
The Terror of Tiny Town |
||
![]() |
|
faster than I once was...
|
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
__________________
~Dave Last edited by FastDave; 02-09-2005 at 03:16 PM.. |
||
![]() |
|
faster than I once was...
|
*
__________________
~Dave Last edited by FastDave; 02-09-2005 at 03:15 PM.. |
||
![]() |
|
![]() |
Registered
|
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...
__________________
1983 944 - Sable Brown Metallic / Saratoga / LSD : IceShark Light Kit |
||
![]() |
|
Too big to fail
|
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
__________________
"You go to the track with the Porsche you have, not the Porsche you wish you had." '03 E46 M3 '57 356A Various VWs |
||
![]() |
|
Registered
Join Date: Mar 2003
Posts: 10,347
|
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.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.” |
||
![]() |
|
Registered Loser
Join Date: May 2001
Location: Worcester, MA
Posts: 2,392
|
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. ![]()
__________________
Owner of a wrecked 944 |
||
![]() |
|
Super Moderator
|
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 ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits |
||
![]() |
|
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 56,185
|
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.
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|
Registered
Join Date: Nov 2004
Posts: 8
|
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) |
||
![]() |
|