LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-12-2010, 05:45 AM   #1
SaHbok
LQ Newbie
 
Registered: Jun 2010
Location: Poltava
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Question Thin client


Hello there!
I have mostly configured diskless client. I have some strange configuration:
OS host: Windows Server 2008 SP2. Working with DHCP and TFTP.
ОS first virtual machine: Ubuntu 10.04 desktop. Working with NFS.
ОS second virtual machine: Ubuntu 9.04 server. Copied a filesystem for client from there.
Yes, I am doing a thin client for server. Because my server's HDD broken
My problem:
After logging in I have a message:
Code:
cannot execute /bin/bash: Permission denied
If you need more information for problem from me, ask me, because I am not very good at linux. And check all, because I can do mistake in any step of configuring.

P.S. Apologise for my "Engrish"...

Last edited by SaHbok; 08-14-2010 at 02:18 PM.
 
Old 06-12-2010, 10:34 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,642

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Filesystem mounted with "noexec"? Binary from a different architecture?
 
Old 06-12-2010, 04:58 PM   #3
SaHbok
LQ Newbie
 
Registered: Jun 2010
Location: Poltava
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
All systems work with i386 compatible.
I can start client with root, if in /etc/default/rcS type SULOGIN=yes. Under root I can execute /bin/bash and for example apache2(apache also can be executed at booting), aptitude. But after executing login script and logging in, I get my error.
I have some fs with noexec, but mount options set by default.
My mount table on client:
Code:
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-11-server/volatile type tmpfs (rw,mode=755)
none on /tmp type tmpfs (rw)
none on /var/run type tmpfs (rw)
none on /var/lock type tmpfs (rw)
none on /var/tmp type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
tmpfs on /lib/modules/2.6.28-11-server/volatile type tmpfs (rw,mode=0755)
/etc/fstab client:
Code:
proc                         /proc           proc  defaults  0   0
/dev/nfs                     /               nfs   defaults  1   1
none                         /tmp            tmpfs defaults  0   0
none                         /var/run        tmpfs defaults  0   0
none                         /var/lock       tmpfs defaults  0   0
none                         /var/tmp        tmpfs defaults  0   0
/etc/exports on server:
Code:
/srv/nfs *myip*(rw,sync,no_subtree_check,no_root_squash)
If my settings wrong, please, correct me.
Also i can get some logs. Please, say me, what part of log I must post.
The same error with executing with /sbin/klogd.

Last edited by SaHbok; 06-12-2010 at 06:19 PM.
 
Old 08-14-2010, 02:16 PM   #4
SaHbok
LQ Newbie
 
Registered: Jun 2010
Location: Poltava
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Solved. I used dd, but not cp for copying client filesystem. All links repaired.

Last edited by SaHbok; 08-14-2010 at 02:17 PM.
 
  


Reply


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
how to setup thin client just for telnet or ssh client use using boot diskless PXE. hocheetiong Linux - Newbie 3 05-21-2008 07:02 PM
Using Thin-Client cwairah Linux - Networking 1 03-29-2006 12:39 PM
Multimedia Thin Client? nicedreams Linux - Hardware 0 12-19-2005 12:06 PM
Thin Client ps6000 Linux - Software 3 12-15-2004 10:54 PM
Thin Client Compatibility Canadian_2k2 Linux - Hardware 1 06-09-2003 09:55 PM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration