#1 (permalink)  
Old 06-01-2009, 07:08 AM
Registered User
 
Join Date: May 2009
Posts: 4
kamlesh_chaube is on a distinguished road
Question how to run plugin

I have developed a custom plugin to CPANEL written in PHP.
But when try to run through SSH Secure Shell. It give me Error

root@shalaka [~]# /usr/local/cpanel/bin/register_cpanelplugin trafficadivsor.cpanelplugin

Usage /usr/local/cpanel/bin/register_cpanelplugin <cpanelplugin config file>
[trafficadivsor.cpanelplugin does not exist. You should provide the absolute path to the file]

I don't understand how to run that plugin.
What is wrong in the path

Please help me to run that script

Thank you,

Last edited by kamlesh_chaube; 06-01-2009 at 07:24 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-01-2009, 07:53 AM
Registered User
 
Join Date: Mar 2003
Location: Washington DC
Posts: 597
eth00
Put the full path to the script like

/home/username/myscript
__________________
John W
Security and general linux how-to's
w w w . t o t a l s e r v e r s o l u t i o n s . c o m
Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization, Consulting
English And Spanish Support!
We do it all @ TotalServerSolutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
plugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin run as root abrender Developer Discussions 1 07-24-2008 10:34 AM
new plugin phphantom cPanel Newbies 0 02-12-2008 04:51 PM
[Ask] Custom Plugin finly cPanel and WHM Discussions 0 02-07-2008 03:38 AM
why a php script won't run when place in cron.. fine when i run it manually.. gundamz cPanel and WHM Discussions 3 03-29-2007 05:31 AM
Can I run cPanel while running kernel run level 2? brunnock cPanel and WHM Discussions 0 11-09-2004 04:06 PM


All times are GMT -5. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc