Saturday, April 4, 2009

packages to be installed for running rpc

install the packages using the following commands inorder to run rpc in ubuntu
  • ubuntu@ubuntu:~$ sudo apt-get install g++
  • ubuntu@ubuntu:~$ sudo apt-get install quota
  • ubuntu@ubuntu:~$ sudo apt-get install nfs-kernel-server
after installing the packages you can use g++ and can run the server too..

The following is the error screen i encountered and the actions taken..

ubuntu@ubuntu:~$ g++ -c rand_client.c
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: sudo apt-get install
bash: g++: command not found
ubuntu@ubuntu:~$ sudo apt-get install g++

ubuntu@ubuntu:~$ ./rand_server

Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (RAND_PROG, RAND_VERS, udp).ubuntu@ubuntu:~$ ./rand_server
Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (RAND_PROG, RAND_VERS, udp).ubuntu@ubuntu:~$ netstat -a|grep nfs


ubuntu@ubuntu:~$ sudo apt-get install quota
[sudo] password for ubuntu:


ubuntu@ubuntu:~$ sudo apt-get install nfs-kernel-server

ubuntu@ubuntu:~$ ./rand_server

1 comment:

phazorRise said...

thanks man ! It still throws error saying ,Authentication error due to credentials are weak. I tried running server from logging in as root and it worked ! Cheers !

Translate This Page

My Mom's blog

If u are a person interested in crafts and fabric stuffs pls check out this link.. http://www.fabriccraft.blogspot.com/

Blog Rankings

Personal Blogs - Blog Rankings