Current time: 11-29-2024, 05:50 PM Hello There, Guest! (LoginRegister)


Post Reply 
Writing CronJobs Web int. It's time!
Author Message
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #51
RE: Writing CronJobs Web int. It's time!
Hi, I need your help. I try start /etc/init.d/hcrond start
and returns response:
-bash: /etc/init.d/hcrond: /bin/bash^M: bad interpreter: No such file or directory
12-04-2009 06:38 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #52
RE: Writing CronJobs Web int. It's time!
I think you have to remove the special characters from the file. (dos2unix)


Knut
12-04-2009 07:24 PM
Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #53
RE: Writing CronJobs Web int. It's time!
Hm... I haven't thise error.
12-04-2009 07:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #54
RE: Writing CronJobs Web int. It's time!
Hi,

you edit your file with a windows program.
Code:
/bin/bash^M: b

Just remove the "^M" and its fine.

Br
jan
12-04-2009 08:04 PM
Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #55
RE: Writing CronJobs Web int. It's time!
(12-04-2009 08:04 PM)mr.x Wrote:  Hi,

you edit your file with a windows program.
Code:
/bin/bash^M: b

Just remove the "^M" and its fine.

Br
jan

I understend.
But it's not necessity for CentOS Wink

Using username "root".
Authenticating with public key "dsa-key-root"
Last login: Fri Dec 4 04:40:53 2009 from 91.78.78.75
[root@main ~]# service hcrond status
Usage: /etc/init.d/hcrond {start|stop|restart|reload|force-reload}
[root@main ~]# service hcrond restart
ReStarting hcrond...
[ OK ]
[root@main ~]#
Tongue
12-04-2009 08:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #56
RE: Writing CronJobs Web int. It's time!
leha, Knut, mr.x
Fanks for submission this bug.rep.
It's for iap-cp Team, if they take a planes to include this solution into installer of isp-cp (maybe by option).

As far as my accuracy ...

-Nak-Nak! Mr. Lazy! Open the door!
- Give me the poker (fire iron), I'm not getting out of bed will open!
(Russian national folklore)
Wink
I have a Q too Wink
In Russian Corner I asked users "what funktions you want to see in developvent?"
Maybe -
More tests of job's scripts,
Lust run in CJ's table,
Resaults of last run?
Error-status?

Place in the table and in the pages of the panel is limited!

But no activity in RC Sad

And so come down! Perhaps a ride ...
(Russian national folklore)
(This post was last modified: 12-05-2009 01:36 AM by data-stream_ru.)
12-05-2009 01:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #57
RE: Writing CronJobs Web int. It's time!
data-stream_ru, can you please create a patch against the latest trunk and attach it to Ticket #139?
In this case the modification can be inside ispCP much faster.
12-05-2009 07:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #58
RE: Writing CronJobs Web int. It's time!
(12-05-2009 07:05 AM)RatS Wrote:  data-stream_ru, can you please create a patch against the latest trunk and attach it to Ticket #139?
In this case the modification can be inside ispCP much faster.

I use RC 1.0.0 in my servers Sad
I have a plane to update ispCP at January.
And after that I can see that problems we have about integration to new versions ispCP.

Now I ask sagestions for development which planed to February.
12-05-2009 03:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #59
RE: Writing CronJobs Web int. It's time!
Knut thanks! I am convert this file to UNIX format, try start and have a new troble...
# /etc/init.d/hcrond start
/etc/init.d/hcrond: line 11: /etc/rc.d/init.d/functions: No such file or directory
Starting hcrond.../etc/init.d/hcrond: line 25: daemon: command not found
(This post was last modified: 12-06-2009 07:34 AM by leha.)
12-06-2009 07:17 AM
Find all posts by this user Quote this message in a reply
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #60
RE: Writing CronJobs Web int. It's time!
(12-06-2009 07:17 AM)leha Wrote:  Knut thanks! I am convert this file to UNIX format, try start and have a new troble...
# /etc/init.d/hcrond start
/etc/init.d/hcrond: line 11: /etc/rc.d/init.d/functions: No such file or directory
Starting hcrond.../etc/init.d/hcrond: line 25: daemon: command not found

Do you compile hCrond source code?
Smile
12-06-2009 03:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)