Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th September 2009, 18:57
weezul weezul is offline
Join Date: Jul 2008
Posts: 43
Thanks: 3
Thanked 3 Times in 2 Posts
Default sites dont get created / problem with cron


i noticed that if i create a new domain / site in ispconfig the site doesnt get created, so what i've figured out already is that /usr/local/ispconfig/server/server.sh is making troubles.

PHP Code:
cat cron.log tail 
shows me
PHP Code:
/bin/sh: /usr/local/ispconfig/server/server.sh: /bin/bash^Mbad interpreterNo such file or directory 
i vied the file and executed

PHP Code:
/usr/bin/php -/usr/local/ispconfig/server/server.php 
that worked.. but how can i fix my cron?
i googled how to remove those ^M tags but nothings working, still getting those error line and my cronjob fails.
Reply With Quote
Sponsored Links
Old 19th September 2009, 19:04
weezul weezul is offline
Join Date: Jul 2008
Posts: 43
Thanks: 3
Thanked 3 Times in 2 Posts

whoooppss... ok solved...

installed and ran

PHP Code:
apt-get install tofrodos
that fixed those ^M error...
Reply With Quote
Old 21st September 2009, 10:44
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

The server.sh file delivered with ispconfig does not contain any dos linebreaks on my system. So I guess you must have edited it and saved it with wrong linebreaks or uploaded it with a FTP client with wrong settings.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a problem with all of my sites zalo General 4 25th November 2008 12:01
Problem with ISPConfig (only 2 sites configured) ggarcia24 General 5 21st November 2008 13:49
php disabled on sites amgat Installation/Configuration 3 30th August 2007 21:14
database index problem icphedia General 4 12th July 2006 14:03
Virtual E-Mail Problem amurray Installation/Configuration 3 10th July 2006 11:07

All times are GMT +2. The time now is 00:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.