Fedora :: Getting To Know /etc/initd.conf, /etc/init.d, Xinetd?

Aug 3, 2011

I would like some quick pointers to understanding service-daemon controlling and etc/initd.conf or /etc/xinetd.conf, if you prefer. read, a while back, I should be using...

[bash]# service "srv-dmon" start/stop/status/restart/reload/etc
and to stop using...
[bash]# /etc/init.d/"srv-dmon" start/stop/status/restart/panic/save/etc

[code]....

View 2 Replies


ADVERTISEMENT

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

Fedora Security :: Invalid XINETD_CONF_PATH Configuration Option - Non-existent Pathname Specified: /etc/xinetd.conf?

Mar 24, 2010

I'm just trying to figure out what is going on with FC12
Here is the error:

[root@localhost bigmac]# rkhunter --check
Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf

View 1 Replies View Related

General :: Remove Xinetd.conf ?

Dec 18, 2010

I have simpe question about xinetd what happen to my system if i remove xinetd.conf what can i do to dont allow anyone delete xinetd.conf.

View 2 Replies View Related

General :: Is There A Xinetd.conf Alternative For Ubuntu

Feb 10, 2010

I want to look into disabling things like chargen, chargen-udp, daytime, daytime-udp, echo etc...I have found a manual at:which points me towards the xinetd.conf file. I cant seem to find it, im using ubuntu 8.10 LTS. Should I be looking else where?

View 2 Replies View Related

CentOS 5 :: Cannot Find Xinetd.conf In CentOS5.4?

Nov 18, 2009

I can not find xinetd.conf on my server (CentOS 5.4 operation system).

View 2 Replies View Related

General :: RHEL5: Includedir Option In /etc/xinetd.conf Does Not Take Effect?

Mar 1, 2010

When I was configure xinetd service I tried to modify the includedir option in /etc/xinetd.conf to another directory. For example:

defaults
{
}

[code]....

View 2 Replies View Related

General :: Using For The Server - Bash: /etc/init.d/dhcpd.conf: No Such File Or Directory

Aug 24, 2010

# /etc/init.d/dhcpd.conf -bash: /etc/init.d/dhcpd.conf: No such file or directory what is the problem? and how to configure out "joe"

View 5 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

Fedora Security :: Xinetd And Bash Scripts - No Need For SSL

Jul 14, 2009

I've recently setup a simple service application using xinetd, which runs a bash script to allow users to check for specific events into a log file. The contents of this logfile is not sensitive, so no need for SSL or password protection. Though, my concern about it is the possibility of a malicious request to cause execution of arbitrary code. I've seen similar bash issues discussed briefly a couple times, but never actually seen any solid point of how much of this is a fact, or myth. I've tested some obvious things, like sending tricky characters into the request, but so far it looks ok. So my question here is, considering the following code below, would be possible for an attacker to exploit it? How safe it is to have this sort of application running as a service?

# /etc/xinetd.conf
Code:
service logfile-search {
server= /home/guest/logfile-search.bash
socket_type= stream
wait= no
instances= 5
per_source= 1
user= guest
nice= 15
log_type= FILE /home/guest/logfile-search.bash.access.log
log_on_success= HOST DURATION EXIT
log_on_failure= HOST
}
# /etc/services

Code:
logfile-search30000/tcp
# /home/guest/logfile-search.bash

Code:
#!/bin/bash
trap "" 2 3 24
echo -n "Enter search string: " ; read -t 120
if [ "$REPLY" ]; then
echo "`date` - $REMOTE_HOST - $REPLY" >>/home/guest/logfile-search.bash.search.log
grep -i "$REPLY" /home/guest/logfile.txt
fi
exit

View 2 Replies View Related

Fedora Networking :: Cant Find Services Xinetd & Others?

Aug 15, 2009

i am working with fedora 9 i need to turn on services such as telnet,ftp,dns,nfs,dhcp etc. but the problem is i dont even find xinetd based service when i am giving this command

Code:
#chkconfig --list|more
nd some command is not working for me as well like

[code]....

View 8 Replies View Related

Red Hat / Fedora :: Installing Cvs - Xinetd - Command Not Found

Mar 12, 2010

I am new to Linux i am installing cvs in it.

I am facing the below problem:sudo /etc/init.d/xinetd reload sudo: /etc/init.d/xinetd: command not found. /etc/init.d/xinetd restart /etc/init.d/xinetd stop.

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

Fedora Servers :: Sshd Within Xinetd Doesn't Work

Aug 21, 2010

I recently installed Fedora 13 on VMware 7 environment without X window. sshd did work fine, but when I tried to put it into xinetd, it doesn't work any more. Here is what I have done so far :

I stopped sshd. #service sshd stop

and I configured xinetd.conf like below.

Quote:

#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.

[Code]....

I don't know what I did wrong with them. I configured xinetd.conf, and I made service configuration file 'ssh' in /etc/xinetd.d, and I restarted xinetd.

What am I supposed to do to make a life on my sshd within xinetd ?

View 1 Replies View Related

Fedora :: Beesu Nautilus Window Never Opens (VNC Via Xinetd)

Feb 23, 2011

I have setup a vnc server using the "every imagineable server" thread which setups up VPN using xinetd. I have also installed Beesu and its associated scripts so I can easily open root privileged nautilus windows.

beesu works a treat on the actual display. However whilst vnc'd into the box I get prompted for my root password (which it accepts) but a nautilus window never opens. No errors, it just doesn't open.

View 6 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

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Programming :: Init Scripts In /etc/init.d?

Sep 17, 2010

I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file

View 6 Replies View Related

Debian :: INIT : Cannot Execute /etc/init.d/rc?

May 7, 2011

I'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :

Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .

[code]...

View 3 Replies View Related

Software :: Stuck In Init 3 Although Indicates Its Init 5?

Mar 17, 2011

openSUSE 10.3 on Itronix IX260+ Stuck on command line, init 3, and all attempts at graphic init 5 fail. Get these messages:(EE) No devices detected; Fatal screen error: no screens found; AIGLX disabled Primary Device is PCI 01:00:0kernel:device-mapper:multipath round-robin:version 1.0.0 loaderkernel:device-mapper:table:253:0:multipath: error getting device
kernel:device-mapper:ioctl: error adding target to tableProblem would seem to be with the device-mapper, but have no idea how to fix it.

View 3 Replies View Related

Ubuntu :: Wont Boot - "no Init Found. Try Passing Init=bootarg"

Jan 31, 2011

While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"

This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?

Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)

I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.

View 3 Replies View Related

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related

Fedora :: Can't Use The Init 3

Jun 19, 2009

Lately I've been trying to install the Nvidia Cuda driver for Linux.In order to do this, I have to tun a .run file. When I run it in the console, It says that I can't install when running the X server. So I try to use "init 3".When I type it, and hit enter, the screen goes black, no blinky cursor thing, just a frozen black screen. I followed one of the nvidia tutorials on here to get the normal nvidia driver, and it worked successfully.Before I installed the nvidia driver, when I would use "init 3" I would get a colourful console window with random coloured blocks of random lettering. It seems that installing the nvidia form the tutorial turned this into a black screen.

View 4 Replies View Related

CentOS 5 Server :: Loading Multiple Virtual Host Conf Files From Httpd.conf?

Jun 1, 2009

I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:

In my httpd.conf file, at the very end, I have the line

Include conf/vhosts/vhost_*.conf

However, when I run apache checkconfig or try to start apache, it gives me the error:

httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied

It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.

View 3 Replies View Related

Debian :: Cant Find Anything In Apache2.conf Or Httpd.conf Files?

Jul 25, 2010

phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.

View 5 Replies View Related

Fedora :: What Is /etc/init.d/ntpdate

Sep 9, 2009

I saw that there are 2 NTP services in /etc/init.d:

/etc/init.d/ntpd - the NTP daemon
/etc/init.d/ntpdate - what is this ? and what is the relation between the 2 services?

I mean... if there is ntpd to do all the clock sync, what is ntpdate's role?

View 3 Replies View Related

Hardware :: Getting A Radeon Xorg.conf.d/*.conf Stuff?

May 22, 2011

I have used nVidia my entire linux life (about 5 years clean and sober from M$). Recently, I have switched over to an ATI Radeon HD 5550 card. After many trial and error setups, I finally got the resolutions and screens set properly with a xrandr command, which I have now added to a shell script in ~/.kde4/Autostart. It has worked for me for a while now, but I really would like to get it set in the xorg.conf.d files so that I don't have to wait that extra few seconds after login for the screens to fix themselves.

Is there an easy way to take what xrandr does and export it to the xorg.conf.d files? If my video card recognizes my default monitor as DFP2 and the tv that I only sometimes use with this computer as DFP1, how can I ensure that the login screen for openSUSE/KDE4 appears on my default screen (an issue that drove me nuts a few months ago when I tried Ubuntu to see what all the fuss was about)?

My xrandr command that I use to fix it all is:

xrandr --output DFP2 --auto --pos 0x0 --primary --output DFP1 --auto --right-of

I am using the proprietary Radeon driver from the ioda repository. DFP2 is a monitor which has a optimum resolution of 1920x1200, and DFP1 is an 1080p HDTV. I can not reverse the output plugs for the screens even though my monitor is an HDMI monitor because I use the actual HDMI port on the video card to output audio to the television and the other plug is a DVI that I convert to HDMI for the monitor.

View 1 Replies View Related

Fedora Networking :: Can't Restart /etc/rc.d/init.d/smb?

Nov 11, 2009

im just stating in fedora..why does i cant restart/start/stop my /etc/rc.d/init.d/smb ? actually i notice that there are no "smb" or "samba" file exist in my /etc/rc.d/init.d/ or in /etc/init.d/

and there is no smb or samba found in my /sbin/chkconfig but i have my samba installed. Im using fedora 10

View 2 Replies View Related







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