LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-18-2011, 02:10 AM   #1
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
stunnel installation error in centos


Hi
i installed stunnel in centos how can i start stunnel it says /etc/stunnel/ there is no conf file... i could int find anything inside /etc/stunnel after installation ..mine conf path lies in /usr/share/doc/stunnel-4.15/ ..

[root@world ~]# yum install stunnel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package stunnel.i386 0:4.15-2.el5.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
stunnel i386 4.15-2.el5.1 rhel-server 112 k

Transaction Summary
================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 112 k
Is this ok [y/N]: y
Downloading Packages:
stunnel-4.15-2.el5.1.i386.rpm | 112 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : stunnel 1/1

Installed:
stunnel.i386 0:4.15-2.el5.1

[root@world ~]# cd /usr/share/doc/stunnel-4.15/
[root@world stunnel-4.15]# ls
AUTHORS faq.stunnel-2.html stunnel-pop3s-client.conf
BUGS NEWS stunnel-sfinger.conf
Certificate-Creation pop3-redirect.xinetd TODO
ChangeLog PORTS transproxy.txt
COPYING README tworzenie_certyfikatow.html
COPYRIGHT.GPL sfinger.xinetd VNC_StunnelHOWTO.html
CREDITS stunnel.conf-sample
[root@world stunnel-4.15]# cd
[root@world ~]# stunnel
2011.11.17 15:06:19 LOG3[3382:3086706384]: /etc/stunnel/stunnel.conf: No such file or directory (2)

Syntax:
stunnel [<filename>] ] -fd <n> | -help | -version | -sockets
<filename> - use specified config file instead of /etc/stunnel/stunnel.conf
-fd <n> - read the config file from a file descriptor
-help - get config file help
-version - display version and defaults
-sockets - display default socket options
[root@world ~]#
 
Old 11-19-2011, 05:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by arun5002 View Post
i installed stunnel in centos how can i start stunnel it says /etc/stunnel/ there is no conf file... i could int find anything inside /etc/stunnel after installation ..mine conf path lies in /usr/share/doc/stunnel-4.15/ .. (..) 2011.11.17 15:06:19 LOG3[3382:3086706384]: /etc/stunnel/stunnel.conf: No such file or directory (2)
Well then copy /usr/share/doc/stunnel-4.15/stunnel.conf over to /etc/stunnel/ and configure it.
* BTW your question is about configuring Stunnel so posting Yum output is not relevant to your question.
 
Old 11-22-2011, 03:02 AM   #3
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558

Original Poster
Blog Entries: 5

Rep: Reputation: Disabled
HI
i had moved conf file /etc/stunnel but how can i start the stunnel service. i could int able to find stunnel service in /etc/init.d

can some one help me how can i start stunnel
 
Old 11-22-2011, 04:32 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by arun5002 View Post
i could int able to find stunnel service in /etc/init.d
See comment #3 for https://bugzilla.redhat.com/show_bug.cgi?id=455815#c3 reasons why.


Quote:
Originally Posted by arun5002 View Post
can some one help me how can i start stunnel
Three ways really:
- download stunnel-4.47.tar.gz, extract stunnel-4.47/tools/stunnel.init.in or
- use any example already available on the 'net or
- write one yourself (for examples see /etc/rc.d/init.d/*).

* For all three options goes you should aim to make the initscript conform to the guidelines for SysV-style Initscripts, then install it into /etc/rc.d/init.d (like 'install /path/to/your/script' -o root -g root -m 0750 -Z "system_ubject_r:initrc_exec_t" -D /etc/rc.d/init.d/stunnel;') and then you probably need to run 'chkconfig --add stunnel && chkconfig --level 3 stunnel on; service stunnel start' afterwards.

Last edited by unSpawn; 11-22-2011 at 04:33 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse-Resin installation error on my Centos machine @nthoon Linux - Software 4 06-28-2011 06:21 AM
[SOLVED] centos installation error amartlk Linux - Newbie 3 12-11-2010 01:30 AM
[SOLVED] qmail toaster installation error on centos 64 mobinskariya Linux - Software 2 11-06-2009 01:00 AM
Ubuntu 6.06.1 VMware Stunnel Installation Issues Schlzm Ubuntu 12 04-10-2009 11:56 AM
error when trying to install stunnel f1uke Linux - Software 0 12-23-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration