Sorry if this is going to be one of those 'idiot' questions, but I don't use Samba. It has always been on our server, chugging along beautifully so no on ever had to touch it... Well, we consolidated servers and moved everything to another server with HP-UX 10.20 (the previous server had the same HPUX version so I thought I was in the clear), the samba version is samba-1.9.18p2. I copied over the source and ran make, then make install - during the make install I received these errors: Installing codepage files in /usr/local/samba/lib/codepages Creating codepage file /usr/local/samba/lib/codepages/codepage.437 from codepage _def.437 installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute permission deni ed. Creating codepage file /usr/local/samba/lib/codepages/codepage.850 from codepage _def.850 installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute permission deni ed. Creating codepage file /usr/local/samba/lib/codepages/codepage.852 from codepage _def.852 installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute permission deni ed. Creating codepage file /usr/local/samba/lib/codepages/codepage.932 from codepage _def.932 installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute permission deni ed. Creating codepage file /usr/local/samba/lib/codepages/codepage.866 from codepage _def.866 installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute permission deni ed. ====================================================================== The code pages have been installed. You may uninstall them using the command "make uninstallcp" or make "uninstall" to uninstall binaries, man pages, shell scripts and code pages. ====================================================================== When I try and run a script we have that runs this command: /usr/local/samba/bin/smbd -D -l /var/adm/smblogs \ -s /usr/local/samba/lib/smb.conf /usr/local/samba/bin/nmbd -D -l /var/adm/nmblog.log \ -s /usr/local/samba/lib/smb.conf I get this error: ./startsmb.sh[7]: /usr/local/samba/bin/smbd: Executable file incompatible with h ardware ./startsmb.sh[9]: /usr/local/samba/bin/nmbd: Executable file incompatible with h ardware I realize we need to be off 10.20 and that this samba version is old, but we have clients we need to support that still have old crud. The 10.20 can not be updated but Samba could be without a problem. I actually tried to install samba-2.2.3a, but didn't have any luck. Like I said I don't know Samba, so I apologize for the idiocy of my email :) Thanks! Lisa
Hi yuo not write how architecture of new server is. Version of HPUX is not significant. If you compile any software, this must be compiled with libs and compilators for your architecture(cpu...alfa/i386/...)and for OS. First yuo instal proper compilers and libs and then make samba,but first run configure then make. Try new version 2.2.8a and read instruction for HPUX. Bye. At time of writing, the Makefile claimed support for: A/UX 3.0 AIX Altos Series 386/1000 Amiga Apollo Domain/OS sr10.3 BSDI B.O.S. (Bull Operating System) Cray, Unicos 8.0 Convex DGUX. DNIX. FreeBSD HP-UX Intergraph. Linux with/without shadow passwords and quota LYNX 2.3.0 MachTen (a unix like system for Macintoshes) Motorola 88xxx/9xx range of machines NetBSD NEXTSTEP Release 2.X, 3.0 and greater (including OPENSTEP for Mach). OS/2 using EMX 0.9b OSF1 QNX 4.22 RiscIX. RISCOs 5.0B SEQUENT. SCO (including: 3.2v2, European dist., OpenServer 5) SGI. SMP_DC.OSx v1.1-94c079 on Pyramid S series SONY NEWS, NEWS-OS (4.2.x and 6.1.x) SUNOS 4 SUNOS 5.2, 5.3, and 5.4 (Solaris 2.2, 2.3, and '2.4 and later') Sunsoft ISC SVR3V4 SVR4 System V with some berkely extensions (Motorola 88k R32V3.2). ULTRIX. UNIXWARE UXP/DS ----- Original Message ----- From: "Mauer, Lisa" <Lisa.Mauer@McKesson.com> To: <samba@lists.samba.org> Sent: Thursday, June 19, 2003 6:32 PM Subject: [Samba] Exec file incompatible with hardware> Sorry if this is going to be one of those 'idiot' questions, but I don't > use Samba. It has always been on our server, chugging along beautifully > so no on ever had to touch it... Well, we consolidated servers and moved > everything to another server with HP-UX 10.20 (the previous server had > the same HPUX version so I thought I was in the clear), the samba > version is samba-1.9.18p2. I copied over the source and ran make, then > make install - during the make install I received these errors: > > Installing codepage files in /usr/local/samba/lib/codepages > Creating codepage file /usr/local/samba/lib/codepages/codepage.437 from > codepage > _def.437 > installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute > permission deni > ed. > Creating codepage file /usr/local/samba/lib/codepages/codepage.850 from > codepage > _def.850 > installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute > permission deni > ed. > Creating codepage file /usr/local/samba/lib/codepages/codepage.852 from > codepage > _def.852 > installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute > permission deni > ed. > Creating codepage file /usr/local/samba/lib/codepages/codepage.932 from > codepage > _def.932 > installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute > permission deni > ed. > Creating codepage file /usr/local/samba/lib/codepages/codepage.866 from > codepage > _def.866 > installcp.sh[23]: /usr/local/samba/bin/make_smbcodepage: Execute > permission deni > ed. > =====================================================================> The code pages have been installed. You may uninstall them using the > command "make uninstallcp" or make "uninstall" to uninstall binaries, > man pages, shell scripts and code pages. > =====================================================================> > When I try and run a script we have that runs this command: > /usr/local/samba/bin/smbd -D -l /var/adm/smblogs \ > -s /usr/local/samba/lib/smb.conf > /usr/local/samba/bin/nmbd -D -l /var/adm/nmblog.log \ > -s /usr/local/samba/lib/smb.conf > > I get this error: > ./startsmb.sh[7]: /usr/local/samba/bin/smbd: Executable file > incompatible with h > ardware > ./startsmb.sh[9]: /usr/local/samba/bin/nmbd: Executable file > incompatible with h > ardware > > I realize we need to be off 10.20 and that this samba version is old, > but we have clients we need to support that still have old crud. The > 10.20 can not be updated but Samba could be without a problem. I > actually tried to install samba-2.2.3a, but didn't have any luck. Like I > said I don't know Samba, so I apologize for the idiocy of my email :) > > Thanks! > Lisa > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
>Well, we consolidated servers and moved everything to >another server with HP-UX 10.20 (the previous server >had the same HPUX version so I thought I was in the >clear), the samba version is samba-1.9.18p2. I copied >over the source and ran make, then make install - >during the make install I received these errors: > >Installing codepage files in >/usr/local/samba/lib/codepages >Creating codepage file >/usr/local/samba/lib/codepages/codepage.437 >from codepage _def.437 >installcp.sh [23]: >/usr/local/samba/bin/make_smbcodepage: >Execute permission denied.Is "/usr/local/samba/bin/make_smbcodepage" a shell script or a binary? Does it have the proper exec bit set?>When I try and run a script we have that runs: >/usr/local/samba/bin/smbd -D -l /var/adm/smblogs \ > -s /usr/local/samba/lib/smb.conf >/usr/local/samba/bin/nmbd -D -l /var/adm/nmblog.log \ > -s /usr/local/samba/lib/smb.conf > >I get this error: >./startsmb.sh[7]: /usr/local/samba/bin/smbd: >Executable file incompatible with hardware >./startsmb.sh[9]: /usr/local/samba/bin/nmbd: >Executable file incompatible with hardwareAre you positively sure that what ran on the old machine was 10.20? What was the model of the old server and what is the model of the new one? The above error sounds like you are trying to run Apollo m64k on an hppa or at least trying to run hppa 2.0 binary on a 1.0 or 1.1. Can you post what the old and the new server output when you execute the commands "uname -a" and "model"? Also, what comes back from executing "file smbd", "what smbd", and "chatr smbd" on both servers? It may help to undestand the problem.>I realize we need to be off 10.20 and that this samba >version is old, but we have clients we need to >support that still have old crud. The 10.20 can not >be updated but Samba could be without a problem. I >actually tried to install samba-2.2.3a, but didn't >have any luck. Like I said I don't know Samba, so I >apologize for the idiocy of my email :)There's really no excuse for keeping 10.20. ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005
>>When I try and run a script we have that runs: >>/usr/local/samba/bin/smbd -D -l /var/adm/smblogs \ >> -s /usr/local/samba/lib/smb.conf >>/usr/local/samba/bin/nmbd -D -l /var/adm/nmb.log \ >> -s /usr/local/samba/lib/smb.conf >> >>I get this error: >>./startsmb.sh[7]: /usr/local/samba/bin/smbd: >Executable file incompatible with hardware >>./startsmb.sh[9]: /usr/local/samba/bin/nmbd: >Executable file incompatible with hardware > >Are you positively sure that what ran on the old >machine was 10.20? What was the model of the old >server and what is the model of the new one? The >above error sounds like you are trying to run >Apollo m64k on an hppa or at least trying to run >hppa 2.0 binary on a 1.0 or 1.1. > >Can you post what the old and the new server >output when you execute the commands "uname -a" >and "model"? Also, what comes back from executing >"file smbd", "what smbd", and "chatr smbd" on >both servers? It may help to undestand the problem.You probably don't specify with +D? options what hppa version should be the target platform (on which the program should run). The default is probably inappropriate for your hardware model. ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005