LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-16-2015, 05:46 AM   #1
sharista
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
Starting and/or stopping NFS issue in a windriver linux...


Hi everyone

I hope my post finds you all O.K.,

I have a WiChorus Smartcore 9100 Series "9160" , it is a Wimax asn-gateway, with a built in operating system of windriver linux,

My issue is that when i start it and monitoring the console port, it goes normally until asking for the login, after successfully login, it allows me to run Linux commands only, WiChorus should also speaks its own bastardized version of Cisco IOS, thats why i could not run any commands regarding showing running configurations or any IOS related commands.

While searching for stopped and running services, i found that NFS is stopped,

Code:
localhost login: root
Password:

Welcome to MBOS!

root@ASN:/root>
root@ASN:/root> service nfs status
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
When trying to start it, the whole system goes to a restart after pausing for like 10 seconds,(as if you typed "reboot").

Also trying to run STOP command i get this:

Code:
root@ASN:/root> service nfs stop
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Shutting down NFS services:  [  OK  ]
I checked the portmap and was running
Code:
root@ASN:/root> service portmap status
portmap (pid 1186) is running...
I could go and browse for configuration files and can read them and see all the configurations but not in the original IOS like in any other Cisco like device,

Any help is appreciated, specially regarding starting the NFS service ^_^

Thank you in advance,
 
Old 12-16-2015, 06:17 AM   #2
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
Can you copy and paste the output of

Code:
tail /var/log/messages
 
Old 12-16-2015, 06:38 AM   #3
sharista
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampthing001 View Post
Can you copy and paste the output of

Code:
tail /var/log/messages
Thank you for the replay,

here it is,

Code:
root@ASN :/root> tail /var/log/messages
Jul 15 06:02:01 localhost CRON[8650]: (root) CMD (/usr/wichorus/bin/evlrotate.sh; exit 0;)
Jul 15 06:02:01 localhost CRON[8652]: (root) CMD (/usr/wichorus/bin/fixdatetime.sh)
Jul 15 06:03:01 localhost CRON[8676]: (root) CMD (/usr/wichorus/bin/evlrotate.sh; exit 0;)
Jul 15 06:04:01 localhost CRON[8690]: (root) CMD (/usr/wichorus/bin/evlrotate.sh; exit 0;)
Jul 15 06:04:01 localhost CRON[8692]: (root) CMD (/usr/wichorus/bin/fixdatetime.sh)
Jul 15 06:05:01 localhost CRON[8716]: (root) CMD (/usr/sbin/logrotate /etc/logrotate.conf; EXITVALUE=$?; if test $EXITVALUE -ne 0; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"; fi; exit 0;)
Jul 15 06:05:01 localhost CRON[8718]: (root) CMD (/usr/wichorus/bin/evlrotate.sh; exit 0;)
Jul 15 06:05:01 localhost CRON[8720]: (root) CMD (/usr/wichorus/bin/bspage.sh > /tmp/bspage_logs 2>&1)
Jul 15 06:06:01 localhost CRON[8745]: (root) CMD (/usr/wichorus/bin/evlrotate.sh; exit 0;)
Jul 15 06:06:01 localhost CRON[8747]: (root) CMD (/usr/wichorus/bin/fixdatetime.sh)
root@ASN :/root>
btw, date and time is wrong..

Last edited by sharista; 12-16-2015 at 06:40 AM.
 
Old 12-16-2015, 06:58 AM   #4
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
Are you trying to do something with NFS or does the OS just freeze/crash when you login? I'm not entirely sure what you are asking. I don't any experience with Wind River but I can give it a go.
 
Old 12-16-2015, 07:40 AM   #5
sharista
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampthing001 View Post
Are you trying to do something with NFS or does the OS just freeze/crash when you login? I'm not entirely sure what you are asking. I don't any experience with Wind River but I can give it a go.
again thank you for replay,

Regarding the crash:
The OS will not crash after logging in, but when i want to start the NFS it goes for a reboot...

Additional Explanation:
This is a Wimax ASN, it should have an IOS like cisco IOS (almost same), but after logging in, it did not know those commands (like show running-config, config terminal, etc..), thats why, i searched for stopped services, and found that they were those only:

Code:
root@ASN:/root> service --status-all | grep stopped
/etc/init.d/evlaction: line 65: status: command not found
/etc/init.d/evlnotify: line 66: status: command not found
/etc/init.d/evlog: line 78: status: command not found
/etc/init.d/evlogrmt: line 64: status: command not found
Firewall is stopped.
Firewall is stopped.
rndc: connect failed: connection refused
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
also when running nfsstat , it gives:

Code:
root@ASN:/root> nfsstat
Client rpc stats:
calls      retrans    authrefrsh
0          0          0
Client nfs v2:
null       getattr    setattr    root       lookup     readlink
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
read       wrcache    write      create     remove     rename
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
link       symlink    mkdir      rmdir      readdir    fsstat
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%

Client nfs v3:
null       getattr    setattr    lookup     access     readlink
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
read       write      create     mkdir      symlink    mknod
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
remove     rmdir      rename     link       readdir    readdirplus
0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
fsstat     fsinfo     pathconf   commit
0       0% 0       0% 0       0% 0       0%
as i mentioned earlier that i'm not a linux pro, but i think the nfs in this customized linux is working something to help placing calls or allowing access, and the only thing that is missing in my hand now is starting the service or away to reach the built in IOS to run configuration commands,

you can have a look on this like, where someone want to start the underlying kernal instead of working on the IOS, i really want the opposing situation ^_^
http://forums.anandtech.com/showthread.php?t=2175681

btw, the internet is missing many tellabs and smartcore device manuals, this link is almost only one question that have a little bit of details.

The conclusion is that "MAYBE" starting the NFS service and adding it to startup then restarting will led to IOS boot...

Last edited by sharista; 12-16-2015 at 07:46 AM.
 
Old 12-16-2015, 07:51 AM   #6
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
I don't think NFS is what you are looking for. NFS is network file system. It's basically like a Windows shared drive.

Try typing

Code:
en
that should get you to the enable mode.

Here is an example:
Quote:
login as: admin
Using keyboard-interactive authentication.
Password:
Last login: Mon Jan 12 05:42:14 2009 from xxx.xxx.xxx.xxx <--edited for protection
Welcome to MBOS!


MBOS version 2.1.1-93 SmartCore 07/26/09 18:36:46
SC20-R2>en
SC20-R2#sho run

http://forums.anandtech.com/showthread.php?t=2175681
 
Old 12-16-2015, 08:03 AM   #7
sharista
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampthing001 View Post
I don't think NFS is what you are looking for. NFS is network file system. It's basically like a Windows shared drive.

Try typing

Code:
en
that should get you to the enable mode.

Here is an example:



http://forums.anandtech.com/showthread.php?t=2175681
I'm searching for 9 days from now ^_^

I had like 15 hours in the site "link" you sent me now, i even can read what is in it with my eyes closed ,

the "EN" that were written is a command used in CISCO to take u to privilege mode, then u can "show running-config or "sh ru" for abbreviation"..

The issue is that these bastardized CISCO commands are not executed or missing or unknown due to non-running service.
 
Old 12-16-2015, 08:41 AM   #8
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
OK so I officially have no clue but from what I understand the device uses something similar to CISCO IOS. Try typing out the full command

Code:
enable
How are you connecting to the device? If enable doesn't work, have you considered calling the manufacturer?
 
Old 12-16-2015, 09:16 AM   #9
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
So I did some more digging around and found a manual for Wind River Linux. It mentions and gives instructions for completing a lot of tasks. Here is the link to the manual

http://www.intel.com/content/dam/www...user-guide.pdf

At the very least check out page 346. It provides a list of the documents that may be of use. I have zero experience with this product but, I have been a newbie before and I figured I'd help.
 
Old 12-22-2015, 02:47 AM   #10
sharista
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampthing001 View Post
So I did some more digging around and found a manual for Wind River Linux. It mentions and gives instructions for completing a lot of tasks. Here is the link to the manual

http://www.intel.com/content/dam/www...user-guide.pdf

At the very least check out page 346. It provides a list of the documents that may be of use. I have zero experience with this product but, I have been a newbie before and I figured I'd help.
Regarding Windriver linux, its a linux distribution like other linux, the problem is that it is executing the known linux commands and is not executing the IOS ones, thats why i'm debugging,

Lets say "maybe" a service is stopped, The ASN will always need network interface and related services, thats why i wanted to start the NFS, because almost only the NFS is stopped.
 
  


Reply

Tags
nfs, wimax


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
JBOSS - starting and stopping individual application on linux jags1984 Linux - Newbie 5 05-15-2013 03:40 AM
How to install and use oprofile on windriver Linux?? chakri.linux Linux - Software 1 07-06-2011 07:06 PM
Question on starting and stopping USB devices on linux asridhar Linux - Hardware 3 07-18-2006 11:42 PM
Stopping X from starting KennyK Linux - Software 4 06-03-2003 08:12 PM
Starting / Stopping / Restarting Services in VA Linux? abell Linux - General 1 11-15-2002 01:17 PM

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

All times are GMT -5. The time now is 06:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration