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

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

hello,

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
  #2  
Old 19th September 2009, 18:04
weezul weezul is offline
Member
 
Join Date: Jul 2008
Posts: 43
Thanks: 3
Thanked 3 Times in 2 Posts
Default

whoooppss... ok solved...

installed and ran

PHP Code:
apt-get install tofrodos
dos2unix 
<filename
that fixed those ^M error...
Reply With Quote
  #3  
Old 21st September 2009, 09:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,430
Thanks: 813
Thanked 5,208 Times in 4,084 Posts
 
Default

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
Reply

Bookmarks

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 11:01
Problem with ISPConfig (only 2 sites configured) ggarcia24 General 5 21st November 2008 12:49
php disabled on sites amgat Installation/Configuration 3 30th August 2007 20:14
database index problem icphedia General 4 12th July 2006 13:03
Virtual E-Mail Problem amurray Installation/Configuration 3 10th July 2006 10:07


All times are GMT +2. The time now is 10:22.


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