Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 3rd February 2006, 20:45
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

little of topic
how do you auto start a sh file in /etc/init.d/(example->)ts
in debian
__________________
2B or not 2B (a pro)
Reply With Quote
Sponsored Links
  #12  
Old 4th February 2006, 13:43
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
Default

Quote:
Originally Posted by ColdDoT
little of topic
how do you auto start a sh file in /etc/init.d/(example->)ts
in debian
In the directory /etc are several directorys rc0.d .... rc6.d. The numbers of these directorys correspond to the linux runlevels. If you create a symlink in one of these directorys pointing to your start script in /etc/init.d, your script will be executed when the linux system starts the selected runlevel.

If you go to /etc/rc3.d for example and execute the command "ls", you can see which services are started in runlevel 3.

There is also a script that can create the symlinks for you if you dont want to do it manually. To get more infos on how to use the update-rc.d script, run this command on the shell:

man update-rc.d
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 4th February 2006, 15:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

In your specific example (/etc/init.d/ts) you can simply run
Code:
update-rc.d ts defaults
Make sure /etc/init.d/ts is executable.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 4th February 2006, 15:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by ColdDoT
in my mail log is:
is a lot of info but i dont post it here( a lot of rules)
here is the link where you can find the file
http://www.colddot.nl/mail.log
Quote:
Feb 3 18:40:23 localhost postfix/smtp[14337]: 12E276A8AA2: to=<root@server.colddot.nl>, relay=none, delay=347002, status=deferred (connect to server.colddot.nl[81.69.79.160]: Connection refused)
Does Postfix listen on all interfaces? Is inet_interfaces set to all in /etc/postfix/main.cf? What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 5th February 2006, 00:59
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

inet_interfaces set to all.
server:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 1404/couriertcpd
tcp 0 0 *op3s *:* LISTEN 1427/couriertcpd
tcp 0 0 localhost.localdo:10024 *:* LISTEN 1323/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 1643/master
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1496/mysqld
tcp 0 0 *op3 *:* LISTEN 1413/couriertcpd
tcp 0 0 *:imap2 *:* LISTEN 1387/couriertcpd
tcp 0 0 *:www *:* LISTEN 1791/httpd
tcp 0 0 *:ftp *:* LISTEN 1656/pure-ftpd (SER
tcp 0 0 10.0.0.13:domain *:* LISTEN 1311/named
tcp 0 0 localhost.locald:domain *:* LISTEN 1311/named
tcp 0 0 *:ssh *:* LISTEN 1676/sshd
tcp 0 0 *:smtp *:* LISTEN 1643/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 1311/named
tcp 0 0 localhost.localdo:mysql localhost.localdo:32775 ESTABLISHED1496/mysqld
tcp 0 300 10.0.0.13:ssh ip3e830323.speed.:14159 ESTABLISHED3305/0
tcp 0 0 localhost.localdo:32775 localhost.localdo:mysql ESTABLISHED1705/amavisd (child
tcp 0 0 10.0.0.13op3 ip3e830323.speed.:14163 TIME_WAIT -
__________________
2B or not 2B (a pro)
Reply With Quote
  #16  
Old 5th February 2006, 12:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Is 81.69.79.160 your public IP address? Is your server connected directly to the internet, or is it behind a router? If it is behind a router, did you forward port 25 from your router to your server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 5th February 2006, 12:23
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

Yes 81.69.79.160 is public ip no dynamic ip
i've got a router but i have forwarded the ports
80=web
21=ftp
22=ssh
666=Teamspeak Server
110=pop
25=smtp
__________________
2B or not 2B (a pro)
Reply With Quote
  #18  
Old 5th February 2006, 14:26
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
Default

I just tried to your external IP on port 25 and got a connection refused. Please ask your internet service provider if they block connections on port 25.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 5th February 2006, 17:08
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ColdDoT
Default

no they don't i know it for sure because i have runned a smtp server on poort 25 before only then on a windows box
__________________
2B or not 2B (a pro)
Reply With Quote
  #20  
Old 5th February 2006, 18:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Did you forward port 25 to the correct server? If so, is maybe your firewall blocking requests on port 25? Please post the output of
Code:
iptables -L
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
Mail server jas_esp Server Operation 1 7th December 2005 19:17
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 18:48
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 10:32


All times are GMT +2. The time now is 16:08.


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