The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Database can't start automatically on solaris Sachin Vaidya SUN Solaris 2 02-27-2008 11:12 PM
How can I make a program start up automatically after the computer restart/startup? munna_dude Shell Programming and Scripting 1 02-07-2007 09:13 AM
Postfix rbizzell UNIX for Advanced & Expert Users 3 11-03-2006 05:27 AM
How to start Oracle database automatically greg0320 SUN Solaris 3 03-30-2005 06:46 PM
How do I start a program when I start my Computer? l008com UNIX for Dummies Questions & Answers 1 06-23-2002 09:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-20-2002
kmgrady01 kmgrady01 is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 8
Question getting postfix tyo start automatically

Postfix has an initscript just like sendmail did so while logged in as root, simply type: ntsysv and select postfix.

The message above is from the Redhat postifx FAQ. I tried running ntsysv and postfix is not listed as a selection. I can start postfix manually without any problems, but I need it to start on boot. What other way is there to get this setup?

Thanks
  #2 (permalink)  
Old 05-20-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
When you increase the number of Postfix processes into the hundreds, the kernel will eventually run out of file handles; after that it is likely to run out of process slots.
The following information is kernel version dependent.

To set parameters at boot time on Linux systems that have /etc/sysctl.conf, add the following lines:

fs.file-max = 16384
kernel.threads-max = 2048

To set kernel parameters at run time, execute the following commands as root:

# echo 16384 > /proc/sys/fs/file-max
# echo 2048 > /proc/sys/kernel/threads-max

Hope this helps.
  #3 (permalink)  
Old 05-21-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Well, just using ntsysv on a Redhat system won't allow you to add new scripts to the init.d / rc*.d areas. It allows you to turn on / off existing scripts.

If you installed from an RPM, it should have added startup scripts for you, which you could turn off and on.

The easiest way would probably be to simply add some lines to the rc.local file, instead of writing a large new script to handle stop / restart / start / status conditions...

I don't remember exactly where it lie, but it's below the /etc directory somewhere... maybe in /etc/rc.d ?
Closed Thread

Bookmarks

Tags
linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0