Server :: Configure Fakemail To Startup As Xinetd Service?

Feb 2, 2010

I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough. I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes? I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:

# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail

[code]....

But the service is not starting up. Will someone help me with this config file? Or, recommend another application which uses a similar configuration like Sendmail so I can copy this The Fakemail application/service is started from command line like so,

# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]

View 9 Replies


ADVERTISEMENT

Server :: Configure Fakemail To Start Up As Xinetd Service?

Aug 3, 2011

I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough.

I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes?

I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:
# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail
{

[Code]....

But the service is not starting up.

Or, recommend another application which uses a similar configuration like Sendmail so I can copy this

The Fakemail application/service is started from command line like so,
# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]

View 1 Replies View Related

Server :: Set Time Limit For A Service Managed By Xinetd?

Aug 13, 2010

Is there a way to limit the time an instance of a service can run? For example, I want to limit all telnet sessions to 30 mins. Users will be automatically logged out after 30 mins.

View 5 Replies View Related

Red Hat / Fedora :: Configure SNMP Server Using XINETD?

Jan 26, 2011

I am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages in /var/log:

Jan 26 17:23:31 [userid] xinetd[15023]: START: my-snmp pid=15047 from=192.128.11.21
Jan 26 17:23:31 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15047 duration=0(sec)
Jan 26 17:23:32 [userid] xinetd[15023]: START: my-snmp pid=15050 from=192.128.11.21
Jan 26 17:23:32 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15050 duration=0(sec)

can anybody help to point out what is wrong in my config?

[Code]...

View 1 Replies View Related

General :: Xinetd - Unrecognized Service

May 21, 2010

I've already installed centos 5.5 and checked the xinetd services using the command : service xinetd status and the reply is xinetd: unrecognized service.

View 3 Replies View Related

Server :: /etc/xinetd.conf Vs /etc/xinetd.d

Apr 24, 2009

I installed Subversion and xinetd and added Subversion as a service to xinetd.conf as instructed at http://www.codeandcoffee.com/2007/06...rver-on-linux/

I restarted the xinetd service using /sbin/service. however, Subversion does not end up being listed in /etc/xinetd.d nor does it seem to be running and occupying the port altogether.

View 2 Replies View Related

Red Hat / Fedora :: Unable To Start Tftpd Service After Starting Xinetd / Solve This?

Nov 9, 2010

Unable to start tftpd service after starting xinetd

View 9 Replies View Related

Fedora :: Adding Server Startup Script To Service Commands?

Sep 7, 2011

I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.

I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.

View 7 Replies View Related

Ubuntu :: Configure Xinetd For Logging ?

Jan 6, 2011

How to configure xinetd for logging , so that it can log all incoming connections by IP address , TCP port and name of service ?

View 1 Replies View Related

General :: Server Hangs At Startup To Connect To Ldap Before Network Service Starts?

Jul 6, 2010

I am using centos 5.5 x85_64 2.6.18-194.3.1.el5 The server is hanging at start up due to the follwoing error

udevd[746] nss_ldap reconnecting to LDAP server (sleeping 4 seconds)
udevd[746] failed to bind to LDAP ser er ldap://192.168.0.100 cant contact ldap

It fails and then tries again, and again, each time increasing the sleep time. This is happening before network sercvices are started so ther is no way it can connect to ldap. anyone know a way to fix this problem?

View 2 Replies View Related

Ubuntu Servers :: Configure The Server To Reflect The New Settings Of The New Service Provider?

Jun 4, 2011

I am a newbie to linux and running ubuntu server 10.10 (no gui), I had it configured with a fixed ip address and all was fine till I changed internet poroviders and got issued with a new router.

I am trying to configure the server to reflect the new settings of the new service provider. here are the contents of /etc/network/interfaces

Code:
auto eth0
iface eth0 inet static
address 192.168.15.52
netmask 255.255.255.128
gateway 192.168.15.1

Just so I got this right can someone tell me if I am right here. address is the IP I wish to give to my server statically. and gateway is the ip of the router. When I try to ping the router I get

Code:
Ping 192.168.15.1 (192.168.15.1) 56(84) bytes of data.
From 192.168.15.1 icmp_seq=1 Destrination Host unreachable
When I try to ping the internet i get :

[Code]...

Is there anyone that can shed some light on where my problem may be. As i said before I got the new router I had been working with the server no problem.

View 9 Replies View Related

Server :: Run /usr/bin/foo Through Xinetd ?

Apr 28, 2009

If i run /usr/bin/foo through xinetd and have /etc/xinetd.d/foo conf file something like:

1 service foo
2 {
3 port = 3691
4 socket_type = stream
5 protocol = tcp
6 wait = no
7 user = www-data
8 server = /usr/bin/foo
9 server_args = -x
10 }

Is /usr/bin/foo supposed to be listed in the list of all processes on that machine (ps aux)? i added the conf file, bouced xinetd daemon via /sbin/service, yet foo does not seem to be running. the xinetd doc online seems pretty incomplete.

View 10 Replies View Related

Networking :: Trying To Launch A C-server Using Xinetd

Jun 26, 2011

I have a small stats program that I am using to get some sys stats. I am trying to launch this program on a particular port, using the xinetd system deamon. Here is what I am doing ...

[Code]///

View 1 Replies View Related

Debian :: Service At Boot / Startup

Mar 1, 2016

I wanna know why the services ssh & mpd don't run at system boot / startup ?

I am under Debian Jessie 8 Stable , my uniques repos are : main contrib non-free

I don't use extra repositories.

i try installing , and rebooting , and dont work , after I try

First i stop and disable it :
Code: Select allsudo systemctl stop ssh.service ; sudo systemctl disable ssh.service ;
sudo systemctl stop sshd.socket ; sudo systemctl disable sshd.stop

# This dont make anything :
Code: Select allsudo systemctl stop mpd.service ; sudo systemctl stop mpd.service

[Code] ....

View 4 Replies View Related

Fedora :: Create New Service At Startup?

Dec 30, 2009

i want to start /usr/bin/brscan-key at startup. since i find it handy to push on the scan button , and the scanner is saving the scanned image to my pc.

can i add /usr/bin/brscan-key at /etc/rc.local on a safe way?

View 3 Replies View Related

General :: Starting A Service At Startup?

May 11, 2010

I want to start a service and a script SiteMonitor.sh at startup.

Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)

To start with i have modified /etc/rc.local file.

Here is the content of my /etc/rc.local file.

Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

[Code]....

View 14 Replies View Related

Server :: VNC Over Xinetd Doesn't Starts Vncserver

Nov 26, 2010

in Debian Lenny, using TightVNC 1.3.9 I can setup a VNC server manually by using

Code:
vncserver -query localhost -once -geometry 1024x768 -depth 16 :1

But then, as I have read is a better option, I use xinetd with the following configuration:

Code:
service vnc-1024x768x16
{
protocol = tcp
socket_type = stream
wait = no

[Code].....

In fact, I was considering that the problem was with xinetd, but I have other services setted up with it (telnet & ftp for example) and I can use them correctly.

So now I'm lost with this, what else am I not considering with VNC service through xinetd? Where can I find logs or useful information to get a clue about this problems?

View 11 Replies View Related

CentOS 5 Server :: No Xinetd Installed By Default?

Jul 18, 2009

yesterday I installed my first CentOS system. Before I was always using Debian for my servers. When I configured my vsftpd I was just wondering how to setup xinetd or inetd for listening on ports and starting vsftpd. I found /etc/xinetd.d. But there is no xinetd installed by default. Why? Shall I start all my services in standalone mode? What is the concept of CentOS in this issue?

View 5 Replies View Related

General :: Xinetd Server Configuration - Infinite Loop?

Apr 14, 2011

I have a java server console program that I have configured xinetd to start when connection comes in on a given port and then the program runs in an infinite loop receiving inputstream from telephone exchanges. The thing is, when a new chunk of stream comes from the exchange xinetd forks a new process each time. I tried setting the wait parameter to yes and restarted the deamon, but no success. How can I stop this behavior and have the deamon just direct the stream to the process already running? Am I missing something in my config or is it just incorrect?

My config is as follow:
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 50 10
}
includedir /etc/xinetd.d

And then my actual config,
service aos_larmar
{
socket_type = stream
protocol = tcp
user = root
type = UNLISTED
wait = yes
instances = 256
server = /home/gunnl/java/start.sh
port = 5204
disable = no
}

My server OS is, Red Hat Enterprise Linux ES release 4 (Nahant Update 7)

View 1 Replies View Related

General :: Config Service Startup Options In Ubuntu?

Jan 23, 2011

I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes).

Under Red Hat installs, you can often configure most services that start from init using config files in /etc/sysconfig named by the service. Is there and equivalent thing under Ubuntu?

Specically I'm trying to control how the libvirtd and kvm processes are started as far as command line options go. I need to add the --listen option somewhere.

View 1 Replies View Related

Ubuntu :: How To Make Bluetooth Service Disabled At Startup

Jun 5, 2011

I have recently installed Lubuntu 11.04 on an old system. the problem is that it hangs at startup when tries to "Starting Bluetooth". I have searched through this forum and the web and it seems that the problem has something to do with my TV Card. But I can't remove the card because it is a part of my Graphic Card which is an "ATI Radeon 8500DV All In Wonder". I can start the machine with Lubuntu Live CD, and so I thought that maybe I can change a value in a file from installed Lubuntu through Live session that makes the Bluetooth Service disabled at startup.

View 3 Replies View Related

General :: To Xinetd Or Not To Xinetd ?

Jul 21, 2009

I've been reading the RUTE Linux book and they recommend the use of xinetd to run services. However, this book is already a bit outdated, and I was wondering whether this still applies to today's circumstances?

View 4 Replies View Related

OpenSUSE Network :: Bootpd+xinetd Setup - Server Is Not Responding To Requests?

Jan 6, 2010

I have installed bootpd-dd2 and enabled and configured it with xinetd. 1. Made sure that their is a bootptab file and it is configured. 2. Tested the bootpd is working by runing the command /usr/sbin/bootptest cmdbfs .3. tail -f the /var/log/messages and saw the requests from the test.4. rebooted a machine that is configured to pxe boot.there is no messages by bootpd when a request is made.request is picked up by network monitor on a seperate computer on the proper udp port

View 9 Replies View Related

Fedora :: 15 Service Configuration App - Enable / Disable At Startup Setting Is Greyed Out

Jun 25, 2011

When installing Samba and Webmin I use the application "system-config-services" or (if it is easier to find for you that way) menu->Administration->Service management. In this application I can start the services I need (nmb, smb, webmin), but the enable/disable at startup setting is greyed out... Even when I start the application as root it still gives me no possibility to configure the services to start up on boot. This should be possible. It works this way in Fedora 13 and Fedora 14, so why not in Fedora 15?

Before reporting a bug, I would like to ask if other users here have the same problem (and -if possible- a solution)... In the mean tim I guess it is back to the old way of configurating services - sigh..

[edit] I tried to remove the [SOLVED] from the title, but the forum software does not seems to allow me to do that... I thought it was solved by installing xinetd, but I was happy a bit too early. I still have no answer for this problem.

View 6 Replies View Related

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.

View 2 Replies View Related

Ubuntu :: How To Configure Startup Programs

Jul 10, 2010

I am not sure if cron (or crontab) runs when my machine starts up. How would I make sure this happens?

View 2 Replies View Related

General :: Configure Machine To Load Specific Modules At Startup?

May 9, 2010

How do I configure my machine to load specific modules at startup.

View 1 Replies View Related

CentOS 5 Server :: A New Service Appears After The Entire Server Was Replaced

Mar 29, 2010

I noticed that my VPS was rebooted recently and a new service appears

[root@localhost ~]# pstree
init─┬─brcm_iscsiuio───2*[{brcm_iscsiuio}]

View 3 Replies View Related

Server :: Centos5 Server Named Service

May 5, 2010

I have been finding the solution of this problem from last 2 days but i am still unable to get a clue what's happening?I have a virtual dedicated server in godaddy with CENTOS5 operating system. The problem is occurring with the named service. It is becoming dead within 1 hour of starting it./named status gives named is dead but subsys is locked.The issue is their in google but it has no solution.Anybody have a idea what's going on ... i am fed up of starting teh named service again and again.

View 2 Replies View Related

Debian Configuration :: Install A Multi-core System And Configure It To Run Several VMs, One Each For A Firewall, A Caching Proxy Server, A Mail Server, A Web Server?

Jan 25, 2011

I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.

In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved