/etc/init.d/network: shcat: not found


 
Thread Tools Search this Thread
Operating Systems Solaris /etc/init.d/network: shcat: not found
# 1  
Old 05-05-2010
Bug /etc/init.d/network: shcat: not found

Hi All,

I am facing this below mentioned issue, because of this i am not able send any mail using sendmail. no internet connectivity to server.

/etc/init.d/network: shcat: not found

Kindly help me in resolving thisSmilie issue
# 2  
Old 05-05-2010
shcat is a shell function implemented in the script /sbin/rcS which is called by init.

If you have to execute /etc/init.d/network manually, you can replace shcat with cat. I recommend to make a copy of /etc/init.d/network first, say /etc/init.d/mynetwork, and then make the changes in this file.
# 3  
Old 05-05-2010
Network and sendmail are under SMF control (if you use Solaris 10)

try with this , it seems it is same problem

sendmail problem on Solaris 10
# 4  
Old 05-05-2010
Since /etc/init.d/network does no longer exist under Solaris 10, we can assume the version to be < 10.
# 5  
Old 05-05-2010
Yes Solaris 9 4/04, can you please help me in resolving this issue.

when i try to start network it is giving
bash-2.05# /etc/init.d/network start
Setting netmask of eri0 to 255.255.0.0
configuring IPv4 interfaces: eri0.
/etc/init.d/network: shcat: not found
/etc/init.d/network: shcat: not found

---------- Post updated at 02:19 PM ---------- Previous update was at 02:18 PM ----------

Quote:
Originally Posted by solaris_user
Network and sendmail are under SMF control (if you use Solaris 10)

try with this , it seems it is same problem

sendmail problem on Solaris 10
thank you, but why i am getting this error
bash-2.05# /etc/init.d/network start
Setting netmask of eri0 to 255.255.0.0
configuring IPv4 interfaces: eri0.
/etc/init.d/network: shcat: not found
/etc/init.d/network: shcat: not found

kindly help me

---------- Post updated at 02:21 PM ---------- Previous update was at 02:19 PM ----------

Quote:
Originally Posted by hergp
shcat is a shell function implemented in the script /sbin/rcS which is called by init.

If you have to execute /etc/init.d/network manually, you can replace shcat with cat. I recommend to make a copy of /etc/init.d/network first, say /etc/init.d/mynetwork, and then make the changes in this file.
Thank you for your response, do i need to restart the server, because this is an NIS Master Server.
# 6  
Old 05-05-2010
Try:
Code:
sed 's/shcat/cat/g' /etc/init.d/network >/etc/init.d/mynetwork
chmod +x /etc/init.d/mynetwork
/etc/init.d/mynetwork start



---------- Post updated at 10:55 ---------- Previous update was at 10:53 ----------

Yes, you may have to restart services depending on the changes you made. If you can restart the server, then you don't have to bother to create a copy of the network script.
# 7  
Old 05-05-2010
Quote:
Originally Posted by hergp
Try:
Code:
sed 's/shcat/cat/g' /etc/init.d/network >/etc/init.d/mynetwork
chmod +x /etc/init.d/mynetwork
/etc/init.d/mynetwork start



---------- Post updated at 10:55 ---------- Previous update was at 10:53 ----------

Yes, you may have to restart services depending on the changes you made. If you can restart the server, then you don't have to bother to create a copy of the network script.

hi, what this command will do sed 's/shcat/cat/g' /etc/init.d/network >/etc/init.d/mynetwork, is it going to replace shcat with cat
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Samba: Network Route was not found

Assalam o Alaikum! After configuring and starting service of samba, when I access shared folder from windows XP it gives this error " Network Route was not found". My server IP 192.168.1.252, client is on same network. selinux is disabled smb,conf: workgroup = WORKGROUP server string =... (2 Replies)
Discussion started by: ukengr
2 Replies

2. Solaris

samba network path not found

Hello I am new to solaris samba. After configuring samba through swat I can see the the machine listed under windows workgroup computers. when selected it shows the shared directories, But when trying to connect to shares shows a error network path not found. At the same time solaris network... (5 Replies)
Discussion started by: kc2dws
5 Replies

3. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

4. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

5. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

6. Solaris

Network interface not found ?

Hello, I have just installed Solaris 9 x86 in a VMWare and the 1st problem I have is to enable the networking. I can only see the loopback interface and nothing else. - I dont have any /etc/hostnames.xxx - ifconfig -a shows only the loopback - kstat -c net shows only the loopback ... Any... (11 Replies)
Discussion started by: Tex-Twil
11 Replies

7. Debian

Kernel source not found. (can't install network card drivers)

I've had no luck with help on linuxquestions so I figured I'd try here. I'm using debian etch. The problem is that I can not install my network card because it says: Makefile:62: *** Linux kernel source not found. Stop. I have the kernel-headers installed. I've looked all over the... (9 Replies)
Discussion started by: Virtuality
9 Replies

8. Red Hat

error : kernel panic: No init found

helo, my system is runing on redhat 9.0. but now when i run my machine i got the following error. Kernel Panic:No init found. try passing init = option to kernel. i dont have any idea about linux administration. can u help me to solve this error Thanks and Regards,... (2 Replies)
Discussion started by: amitpansuria
2 Replies

9. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

10. Linux

kernel panic: No init found

Hi linux pals, I am installing red hat linux 7.2 on my laptop which already has a windows XP installation on it. After successful installation when i boot to the linux system the system hangs showing the following error: Kernel panic: No init found. Try passing init= option to kernel I... (5 Replies)
Discussion started by: linuxpenguin
5 Replies
Login or Register to Ask a Question