Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Crontab Error (Interworx Server)



Threaded Mode | Print  

 Crontab Error (Interworx Server) (14 Replies, Read 10176 times)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Running Interworx (and love it!) -- but when editing settings in Softaculous within Interworx, as soon as I hit "edit settings", I get the following error displayed at the top of the softaculous settings screen (when the screen refreshes after I hit Edit Settings):

Code
chmod: cannot access `/etc/cron.d/softaculous': Permission denied
sh: /etc/cron.d/softaculous.tmp: Permission denied
mv: accessing `/etc/cron.d/softaculous': Permission denied
chmod: cannot access `/etc/cron.d/softaculous': Permission denied
sh: /etc/cron.d/softaculous.tmp: Permission denied
mv: accessing `/etc/cron.d/softaculous': Permission denied

I had to chmod 777 /etc/cron.d.

Is it safe to leave /etc/cron.d chmodded to global RWX?

Anyone else had to do this before?

--

EDIT: ALSO --- the cron job did not get added to the ROOT or IWORX user's crontab. Has anyone else had to manually add the crontab entry? I even unchecked, did update settings, and re-checked the automatic updates figuring it would alter the crontab again, but it didn't.


Edited by trunkspace : February 21, 2010, 5:34 am
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hello? Anyone?

Is this the only method of support, or is there a real SUPPORT TICKET SYSTEM that I'm just not seeing? I'm guessing there is... there must be one considering Softaculous is a service that people pay for (including me)?


Edited by trunkspace : February 22, 2010, 3:25 am
IP: --   

Crontab Error (Interworx Server)
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

Sorry for the late reply.
For quicker support just email us at our support emails:
http://www.softaculous.com/contact

Can you just check the owner of the file :
/etc/cron.d/softaculous

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
[root@server.tld ~]# ls -alt /etc/cron.d/softaculous
-rw-r--r-- 1 iworx iworx 78 Feb 21 00:36 /etc/cron.d/softaculous

Like I said in my initial post, changing the chmod to 777 of /etc/cron.d folder solved my issue, but is it safe to leave it that way?

Also, the cron job doesn't get added to my crontab by default - do i need to do it manually?
IP: --   

Crontab Error (Interworx Server)
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Quote From : trunkspace February 22, 2010, 6:18 am
[root@server.tld ~]# ls -alt /etc/cron.d/softaculous
-rw-r--r-- 1 iworx iworx 78 Feb 21 00:36 /etc/cron.d/softaculous

Like I said in my initial post, changing the chmod to 777 of /etc/cron.d folder solved my issue, but is it safe to leave it that way?

Also, the cron job doesn't get added to my crontab by default - do i need to do it manually?


Dont leave the /etc/cron.d to 0777, its not safe.
Is Safe Mode on in your PHP ?
Otherwise, since its already owned by iworx it should be able to edit it.

Also crontab is not used for Cron Jobs.
Any cron entry in the /etc/cron.d will be executed.

Regards,
Alons

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Crontab Error (Interworx Server)
ItsyAndy
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello,

Same error here and also I see the installed scripts are not being listed and are not being updated for the users. I reported the problem to the interWORX support.

- Andy


Edited by ItsyAndy : February 22, 2010, 9:47 am
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : alons February 22, 2010, 8:49 am
Quote From : trunkspace February 22, 2010, 6:18 am
[root@server.tld ~]# ls -alt /etc/cron.d/softaculous
-rw-r--r-- 1 iworx iworx 78 Feb 21 00:36 /etc/cron.d/softaculous

Like I said in my initial post, changing the chmod to 777 of /etc/cron.d folder solved my issue, but is it safe to leave it that way?

Also, the cron job doesn't get added to my crontab by default - do i need to do it manually?


Dont leave the /etc/cron.d to 0777, its not safe.
Is Safe Mode on in your PHP ?
Otherwise, since its already owned by iworx it should be able to edit it.

Also crontab is not used for Cron Jobs.
Any cron entry in the /etc/cron.d will be executed.

Regards,
Alons


Remind me, what's /etc/cron.d supposed to be set to then? 0600? I changed it to 777 and don't remember what it was originally.

No, safe mode is not on in my PHP

Good to know about crontab not being used for Cron Jobs for softaculous. However, where does the time get set for the run of the /etc/cron.d/* scripts? I know that Softaculous has its own time set in the SETTINGS, but where in Linux can you set the time for the /etc/cron.d jobs to run, and how does Softaculous access this? It's surely not owned by the CP (user iworx), so that's probably a problem there as well.
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : ItsyAndy February 22, 2010, 9:46 am
Hello,

Same error here and also I see the installed scripts are not being listed and are not being updated for the users. I reported the problem to the interWORX support.

- Andy


Please let me know as soon as you hear back from iworx support!
Thanks =)
IP: --   

Crontab Error (Interworx Server)
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
@trunkspace please check the file /etc/cron.d/softaculous
The cron time and command are in that file.


-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Crontab Error (Interworx Server)
ItsyAndy
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello trunk

The issue with the permissions was fixed by iWORX with a patch. If you still have it open a ticket with their support at https://www.interworx.com/helpdesk/ and ask them to patch your server.

I have another issue anyway: the 'Installations' search always gives no results so I am not able to see what users installed what scripts and also the user scripts are not updated when needed. Can you check if that happens to you as well? I asked iWORX to investigate this as well.

Thanks.

- Andy
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : ItsyAndy February 23, 2010, 12:15 pm
Hello trunk

The issue with the permissions was fixed by iWORX with a patch. If you still have it open a ticket with their support at https://www.interworx.com/helpdesk/ and ask them to patch your server.

I
have another issue anyway: the 'Installations' search always gives no
results so I am not able to see what users installed what scripts and
also the user scripts are not updated when needed. Can you check if
that happens to you as well? I asked iWORX to investigate this as well.

Thanks.

- Andy


Andy,

Thanks a lot for the response! I appreciate the update!

I did a quick test for you, to test the situation you described.
I
added WordPress to a test domain (in Siteworx) using Softaculous. The
following was displayed in Softaculous on the test domain's Softaculous
page:

"Congratulations, the software was installed successfully

WordPress has been successfully installed at :
http://domain.tld/wp"

Next, I went into Softaculous in Nodeworx, clicked "Installations" --> "By Users" and got:
"No results were found"
So, same issue for me as well.


Finally,
for the permission issue, I put the owner and permissions of
/etc/cron.d back to root:root 0655. Having done that, when I hit "Edit
Settings" at the bottom of the Softaculous settings page in Nodeworx, I
get the same error now;
"sh: /etc/cron.d/softaculous.tmp: Permission denied mv: cannot stat `/etc/cron.d/softaculous.tmp': No such file or directory"

Please
let me know once Iworx fixes your issue with the Installations. At that
point, I guess I'll go ahead and open a ticket asking that they resolve
both issues at once (permissions and installations being listed).

Thanks!
Quote From : ItsyAndy February 23, 2010, 12:15 pm
Hello trunk

The issue with the permissions was fixed by iWORX with a patch. If you still have it open a ticket with their support at https://www.interworx.com/helpdesk/ and ask them to patch your server.

I have another issue anyway: the 'Installations' search always gives no results so I am not able to see what users installed what scripts and also the user scripts are not updated when needed. Can you check if that happens to you as well? I asked iWORX to investigate this as well.

Thanks.

- Andy


Edited by trunkspace : February 23, 2010, 9:52 pm
IP: --   

Crontab Error (Interworx Server)
ItsyAndy
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello trunk,

I will let you know! What OS is your server running? Mine has RedHat Enterprise 5.

- Andy
IP: --   

Crontab Error (Interworx Server)
trunkspace
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : ItsyAndy February 24, 2010, 1:31 pm
Hello trunk,

I will let you know! What OS is your server running? Mine has RedHat Enterprise 5.

- Andy


Andy,

I'm running CentOS 5.4 on my server
So it's not an OS-specific issue either
IP: --   

Crontab Error (Interworx Server)
ItsyAndy
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello trunk,

All the issues were solved and patched on my server. So now Softaculous seems to be working perfectly. I don't know if interWORX loaded the patch on all servers as an update but in case open a support ticket and ask them to patch your server.

The only thing I could not test yet is if the scripts are updated when needed; it's not clear to me if Sotfaculous will update itself the scripts installed by the users or they will have to provide with a manual update?

Thanks for sharing. Let's keep in touch in case of other issues.

- Andy
IP: --   

Crontab Error (Interworx Server)
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Quote From : ItsyAndy February 25, 2010, 11:31 am
Hello trunk,

All the issues were solved and patched on my server. So now Softaculous seems to be working perfectly. I don't know if interWORX loaded the patch on all servers as an update but in case open a support ticket and ask them to patch your server.

The only thing I could not test yet is if the scripts are updated when needed; it's not clear to me if Sotfaculous will update itself the scripts installed by the users or they will have to provide with a manual update?

Thanks for sharing. Let's keep in touch in case of other issues.

- Andy


Scripts are updated when the CRON is run.

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 30, 2025, 11:30 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.062