Hi sicarie,
1)Through my daemon script it starts some process, it is located in /etc/init.d/
2)Symbolic links i have created is
in
[root@cv-codc-embu ~]# file /etc/rc.d/rc0.d/K90dmgtd
/etc/rc.d/rc0.d/K90dmgtd: symbolic link to `../init.d/dmgtd'
[root@cv-codc-embu ~]# file /etc/rc.d/rc1.d/K90dmgtd
/etc/rc.d/rc1.d/K90dmgtd: symbolic link to `../init.d/dmgtd'
[root@cv-codc-embu...
User Profile
Collapse
-
Why is daemon service not starting during boot time ?
Hi i am running my shell script daemon,
OS :Linux
Linux cv-codc-embu 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 athlon i386 GNU/Linux
my /etc/inittab file content is
...Code:# inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> #
Last edited by Niheel; Mar 5 '11, 11:12 PM. Reason: Code tags, also this seems very similar to your earlier question. -
How to remove .000 from 1000.000 using grep command?
Hi in my file im having value like
cpu speed is 1000.000
but i wants to pick only before special character .(dot) please help me someone ? thanks in advance -
How to auto start a service on rebooting a linux machine?
I am having one shell script as a service in my project.
It is auto starting in solaris but it is i don't know?
The same shell script, i migrated to Linux. It is working in normal senario, but i have to do some changes to auto restart on rebooting Linux machine.
My SOLARIS Environment:
SunOS csdev-sf240-1 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-V240
My LINUX Environment:
...Last edited by Niheel; Mar 3 '11, 03:54 PM. -
why rcp command gives Connection refused ?
Hi
My Environment: Linux localcstest-xw41-pc1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
while trying rcp command like
[root@localcstes t-xw41-pc1 ~]# rcp test.c root@cv-codc-embu:/root/.
connect to address 10.77.241.55 port 544: Connection refused
Trying krb4 rcp...
connect to address 10.77.241.55 port 544: Connection refused
trying normal rcp (/usr/bin/rcp)... -
-
What is the equivalent of "line" command in linux?
My Environment:Lin ux 2.6.18-194.el5PAE #1 SMP Tue Mar 16 22:00:21 EDT 2010 i686 athlon i386 GNU/Linux
My script is like
#!/bin/bash
if [ -f /root/ramesh/pids ]; then
while line='line'
do
kill -"$SIG" $line > /dev/null 2>&1 ;
done < /root/ramesh/pids
fi
------------------
and i am getting... -
rameshjumgam started a topic why #if defined(SOLARIS) is not detecting solaris operating system in my source ?in Cwhy #if defined(SOLARIS) is not detecting solaris operating system in my source ?
#include <stdio.h>
#include <stdlib.h>
#ifdef linux
#include <string.h>
#include <unistd.h>
#endif
int main()
{
#ifdef WIN32
printf("In Windows");
# else
#if defined(SOLARIS )
printf("Im in Solaris");
#endif
#ifdef linux
printf("In Linux");... -
error: expected `;' before iter ?
i am having in my code like
and i am getting errorCode:std::list<T*>::const_iterator iter=lst.begin();
...Code:error: expected `;' before âiterâ /root/INCLUDE/cw/gdlist.h:140: error: âiterâ was not declared in this scope /root/INCLUDE/cw/gdlist.h:142: error: âiterâ was not declared in this scope /root/INCLUDE/cw/gdlist.h: In member function âT*& CWGDList<T>::at(size_t)â:
Last edited by Niheel; Dec 15 '10, 08:47 AM. -
rameshjumgam started a topic error: extra qualification âGenMIBLex::â on member âNO_FILE_NAMEâ why i am getting ?in Cerror: extra qualification âGenMIBLex::â on member âNO_FILE_NAMEâ why i am getting ?
#ifdef hpux
static const CHAR* const NO_FILE_NAME;
#else
static const CHAR* const GenMIBLex::NO_F ILE_NAME;
#endif
in the above code what is wrong i am not getting it works fine in windows and solaris but i am compiling in Linux im getting below error
error: extra qualification âGenMIBLex::â on member âNO_FILE_NAMEâ
Plz help me? Thanks in advance
No activity results to display
Show More
Leave a comment: