Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to install the cron on DSL< Next Oldest | Next Newest >
kennyfung Offline





Group: Members
Posts: 29
Joined: Feb. 2004
Posted: Nov. 03 2004,13:47 QUOTE

Hi clacker,
             Thank for your suggestion. I tried to following your step to process. Unfortunately, I still fail to use the cron. Some error message showed on the screen. Now I write the process and error message for your reference.

1. chroot /mnt/hda1/DSL-sys
2. mount -t proc /proc proc
3. mydsl-load dsl-dpkg.dsl
4. mydsl-load gnu-utils.dsl
Error: "hda6:Bad access:block 2, count=2 end_request: I/O error... Ext2-fs: unable to read superblock"
5. dpkg -i cron_3.0pli-72-i386.deb
(your version is cron-3.0pl1-86_i386.deb. I only download the cron-30pl1-72-i386.db from "apt-get install cron" command)
Error: "Error: cannot access . dpkg:error processing cron-30pl1-72-i386.deb cannot access archive: No such file or directory Error:were counted while processing cron-30pl1-72-i386.deb"
6. The 4 and 5 step is not successful so I only to complete "rm dsl-dpkg.dsl
7. umount proc
8 <CTRL>D
After the above process, I still remastering process. Error message shows on screen when bootup the  new remastering Live CD.
" starting periodic command scheduler: cron/usr/sbin/cron: couldn't open or create /var/run/crond.pid: Read only file system."
I try to use the "crontab -e" command. An error message appears. "no crontab for root -using an empty one /bin/sh: line 1: /usr/bin/editor: No such file or directory crontab: /usr/bin/editor exited with status 127."

Do you have any suggestion for me to solve the problem? Thanks!
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Nov. 03 2004,14:25 QUOTE

kennyfung,

A) Are you using dsl 0.8.3?  That's what I used.

B) The error with mydsl-load gnu-utils.dsl shows a problem.  That shouldn't have failed.  Take a look at your error.  It says hda6, but your new root was on hda1.  Was the file you tried to install still on hda6?  You need to make sure all of those installation files are on in your new directory before you change the root (unless you are use apt-get to draw them from the internet).  I've noticed that gnu-utils makes some directoris writable, perhaps that's why I didn't get the error, because your gnu-utils failed.

C) My cron was that number because I changed the word "stable" to "unstable" in /etc/apt/source.list (some things only instal from the unstable packages because of dependancies with dsl).

Here is my whole routine.  I make a source directory on a Linux drive (a windows or Dos drive will not preserve permissions and modes).  so I did:

mkdir source
cp -Rp /KNOPPIX source
cp /wherever/dsl-dpkg.dsl source/KNOPPIX
cp /wherever/gnu-utils.dsl source/KNOPPIX
cp /wherever/cron-3.0pl1-86_i386.deb source/KNOPPIX
chroot source/KNOPPIX
mount -t proc /proc proc
mydsl-load dsl-dpkg.dsl
mydsl-load gnu-utils.dsl
dpkg -i cron_3.0pl1-86_i386.deb
rm dsl-dpkg.dsl
rm gnu-utils.dsl
rm cron_3.0pl1-86_i386.deb
umount proc
<CTRL> D


Then do the rest as you did.  I hope this helps.
Back to top
Profile PM 
kennyfung Offline





Group: Members
Posts: 29
Joined: Feb. 2004
Posted: Nov. 04 2004,01:24 QUOTE

Hi clacker,
              I use the dsl version 8 but I am not sure the version is 8... The cron is used apt-get command through the internet to download. I sure that I install all the file at hda1 since I only have one hard disk and cfdisk it with hda1 and one swap partition. Do you install the cron locally? But I will try to following your step to install the cron. Thanks your help!
Back to top
Profile PM 
somerville32@hotmail.com Offline





Group: Members
Posts: 117
Joined: Oct. 2004
Posted: Nov. 05 2004,13:39 QUOTE

If you open up Dillo from your desktop it usualy shows the DSL manual (if you have changed it then the file is usaly stored in file:///usr/share/doc/dsl/getting_started.html
(hopes that links works, if not just navigate to /usr/share/doc/dsl/getting_started.html)

At the top in big bold black letters it should say something like:

Getting Started with DSL Version ____ is replaced with the version number :)

Anyhow, I hope that help you determine your version number :)

~Me


--------------
And then there was linux...
Back to top
Profile PM AOL MSN YIM 
kennyfung Offline





Group: Members
Posts: 29
Joined: Feb. 2004
Posted: Nov. 13 2004,13:27 QUOTE

Hi clacker,
              I tried to follow your step to build up the cron but I could not find the cron_3.0pl1-86_i386.deb from the Debian. I got the cron-3.0pl1.orig.tar.gz from Debian but I could not use the "make install" to complie it at Linux. Where I can find the dsl-dpkg.dsl ,gnu-utils.dsl and  cron_3.0pl1-86_i386.deb. Could you help me? Thanks!
Back to top
Profile PM 
13 replies since Oct. 29 2004,02:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: How to install the cron on DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code