completed ftp, tftp, telnet, ssh, nfs, dhcp servers.
working on cvs server.
completed ftp, tftp, telnet, ssh, nfs, dhcp servers.
working on cvs server.
i have completed ftp,tftp,telnet,ssh,dhcp,nfs servers.
Implemented
#Server Client using message queues and ran for 650 clients using 2 queues for receiving and sendg…
Issues Faced:
*The queues werent getting created… Have to be a superuser to create queues… Found system call perror(“”); very useful to detect the error in this case as it clearly states why the above operation wasnt successful.
*The sprintf() ans sscanf() which were used for data transfer werent working properly…..Resolved by sandwiching a character between two integers in sscanf and sprintf. Also couldnt send a large string %s using sprintf.
*The clients were accepting each others mail..Resolved by setting the msg type to pid of the client thru getpid()
shell scripting upto if command………done
ftp,tftp,nfs is completed…………………… by jatinder singh
plz mention ur status in comment who come in project 00 g1
I’ve completed ftp, tftp, telnet, nfs server configurations.
implemented client server program for around 400 clients using fifo and semaphores.
issues:-
while compilation gcc was unable to get the size for variable of union semun.
Implemented
#Client Server program using Semaphores.
**Issues Faced
1)union semun variable was not getting declared in the program….
Resolved by inserting the union semun definition in man semctl pages and removing unnecessary header files and including #include<limits.h>
2)The program is working well upto 597 clients working but after that resource error arises and states that resources are missing….
kindly check the SElinux policy on the SERVER PC because most of time whenever we restart pc the SElinux policy is reset
for example in my pc
[root@emblogic ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 28
Policy from config file: targeted
[root@emblogic ~]# setenforce 0
[root@emblogic ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 28
Policy from config file: targeted
and now try to put or get file from server .
in client site there is a problem of stale nfs file handle
[root@localhost /]# mount -t nfs 192.168.0.21:/jatinde /mnt
mount.nfs: access denied by server while mounting 192.168.0.21:/jatinde
root@localhost /]# showmount -e 192.168.0.13
clnt_create: RPC: Program not registered
[root@localhost etc]# vim hosts
27.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
server-ip Server server
client1-ip Client1 Client1
client2-ip Client2 Client2