Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
This may not be much help, but I can confirm that AOLServer installs fine on Mandrake 8. Apologies if this is glaringly obvious, but you are sure that 63.12.31.202:8000 Is not already assigned or already has something listening on it, i.e. another AOLServer? On Tuesday 15 May 2001 13:47, you wrote: Hi all, This is the very first time I'm attempting to get AOLServer compiled and going on Linux, after failing miserably using Solaris 8. Have just installed a Linux Mandrake 8.0 system, and am attempting to get AOLServer running on it. Are there any known issues with AOLServer and Mandrake Linux 8.0? This is a Linux Kernel 2.4.3 SMP machine if that has any bearing on the situation. Have followed this set of instructions : a) Uncompressed the AOLServer 3.3.1 tar.gz archive to a temporary location b) Using an everyday, normal user, entered this directory and did gmake (no problems there), then gmake install, then gmake install-tests c) Created the nsadmin group, created the nsadmin user, having it's default group also be nsadmin d) Did chown -Rh nsadmin.nsadmin /usr/local/aolserver e) su - nsadmin f) Entered /usr/local/aolserver and copied sample-config.tcl to config.tcl g) (Here's the problem) Attempted to start AOLServer using : ../bin/nsd -ft ./config.tcl A bunch of foreground startup messages, including these 4 lines : [15/May/2001:23:42:24][23259.1024][-main-] Error: nssock: failed to listen on 63.12.31.202:8000: Cannot assign requested address [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: nssock: starting [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: nssock: accepting connections [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: exiting Anyone have any ideas to solve this and get AOLServer working properly? :-) Regards and best wishes, Justin Clift -- My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there. - Indira Gandhi
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
Yep. 100% damn positive. When installing Mandrake 8.0, I selected the Medium security setting. Wondering if it's set permissions on something to not allow AOLServer to do something it wants to? :-/ + Justin Simon Millward wrote: This may not be much help, but I can confirm that AOLServer installs fine on Mandrake 8. Apologies if this is glaringly obvious, but you are sure that 63.12.31.202:8000 Is not already assigned or already has something listening on it, i.e. another AOLServer? On Tuesday 15 May 2001 13:47, you wrote: Hi all, This is the very first time I'm attempting to get AOLServer compiled and going on Linux, after failing miserably using Solaris 8. Have just installed a Linux Mandrake 8.0 system, and am attempting to get AOLServer running on it. Are there any known issues with AOLServer and Mandrake Linux 8.0? This is a Linux Kernel 2.4.3 SMP machine if that has any bearing on the situation. Have followed this set of instructions : a) Uncompressed the AOLServer 3.3.1 tar.gz archive to a temporary location b) Using an everyday, normal user, entered this directory and did gmake (no problems there), then gmake install, then gmake install-tests c) Created the nsadmin group, created the nsadmin user, having it's default group also be nsadmin d) Did chown -Rh nsadmin.nsadmin /usr/local/aolserver e) su - nsadmin f) Entered /usr/local/aolserver and copied sample-config.tcl to config.tcl g) (Here's the problem) Attempted to start AOLServer using : ../bin/nsd -ft ./config.tcl A bunch of foreground startup messages, including these 4 lines : [15/May/2001:23:42:24][23259.1024][-main-] Error: nssock: failed to listen on 63.12.31.202:8000: Cannot assign requested address [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: nssock: starting [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: nssock: accepting connections [15/May/2001:23:42:24][23259.3076][-nssock-] Notice: exiting Anyone have any ideas to solve this and get AOLServer working properly? :-) Regards and best wishes, Justin Clift -- My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there. - Indira Gandhi -- My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there. - Indira Gandhi
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
On 2001.05.15, Justin Clift [EMAIL PROTECTED] wrote: Hi all, This is the very first time I'm attempting to get AOLServer compiled and going on Linux, after failing miserably using Solaris 8. How did you fail miserably? The only problem I had compiling AOLserver 3.3.1 on Solaris 2.6 was the fact that I'm using an OLD version of gcc (2.7.2.3, IIRC) which didn't like the -mcpu=ultrasparc so I removed that from the Makefile.global and it built with no other changes. I was also building this on a sun4m (sparc20) so... Perhaps if you send the errors you received when trying to compile to the mailing list, we could tell you what needs to happen ... Have just installed a Linux Mandrake 8.0 system, and am attempting to get AOLServer running on it. Are there any known issues with AOLServer and Mandrake Linux 8.0? This is a Linux Kernel 2.4.3 SMP machine if that has any bearing on the situation. My gut reaction is no, there should be no reason why it shouldn't compile out-of-the-box on Mandrake Linux 8.0 but, well, this _is_ Yet Another Linux Distribution we're talking about, who knows what they've done differently. Have followed this set of instructions : a) Uncompressed the AOLServer 3.3.1 tar.gz archive to a temporary location b) Using an everyday, normal user, entered this directory and did gmake (no problems there), then gmake install, then gmake install-tests c) Created the nsadmin group, created the nsadmin user, having it's default group also be nsadmin d) Did chown -Rh nsadmin.nsadmin /usr/local/aolserver e) su - nsadmin f) Entered /usr/local/aolserver and copied sample-config.tcl to config.tcl g) (Here's the problem) Attempted to start AOLServer using : ./bin/nsd -ft ./config.tcl Yes, here IS the problem. Skip step e, as if you want to bind to a port less than 1024 most likely you will need to start nsd as root. You need to start it this way: # cd /usr/local/aolserver # ./bin/nsd -u nsadmin -g nsadmin -ft config.tcl Don't type the #, it's meant to represent your prompt as root. HTH, HAND, - Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
Hi Dossy, Allanah Myles wrote: On 2001.05.15, Justin Clift [EMAIL PROTECTED] wrote: Hi all, This is the very first time I'm attempting to get AOLServer compiled and going on Linux, after failing miserably using Solaris 8. How did you fail miserably? The only problem I had compiling AOLserver 3.3.1 on Solaris 2.6 was the fact that I'm using an OLD version of gcc (2.7.2.3, IIRC) which didn't like the -mcpu=ultrasparc so I removed that from the Makefile.global and it built with no other changes. I was also building this on a sun4m (sparc20) so... Was compiling it on a Solaris 8 fileserver at home, GCS Scorpian 20. Basically a SPARC 20, 110Mhz clone. Using gcc 2.95.3 When trying to run AOLServer it just kept saying something along the lines of Cannot run binary executable which I haven't had before from a known to run on Solaris program, so I thought, Stuff it, I've just finished downloading Mandrake 8 and well, here I am. I see from your email that AOLServer unconditionally puts in the -mcpu=ultrasparc, so that's likely the problem. I hadn't noticed it (didn't look real hard honestly). Just logged into the old sparc server now, removed the -mcpu=ultrasparc from include/Makefile.global and it's compiling presently. See how it goes. This makes sense, considering the error message I was getting. :-) Errr... is there a Solaris FAQ for AOLServer? The Frequently-Asked-Questions link doesn't appear to be um.. a link on the AOLServer page. Perhaps if you send the errors you received when trying to compile to the mailing list, we could tell you what needs to happen ... snip d) Did chown -Rh nsadmin.nsadmin /usr/local/aolserver e) su - nsadmin f) Entered /usr/local/aolserver and copied sample-config.tcl to config.tcl g) (Here's the problem) Attempted to start AOLServer using : ./bin/nsd -ft ./config.tcl Yes, here IS the problem. Skip step e, as if you want to bind to a port less than 1024 most likely you will need to start nsd as root. You need to start it this way: # cd /usr/local/aolserver # ./bin/nsd -u nsadmin -g nsadmin -ft config.tcl Don't type the #, it's meant to represent your prompt as root. The sample-config.tcl file has its default port set to 8000 (an unpriviledged port). It appears Mandrake's msec program/package is a bit over-zealous even on Medium setting, the recommended default. To solve the problem I had to configure a custom msec security configuration with : # msec custom And let user programs bind to unpriviledged ports. Not normal Unix behaviour, but heck, I can see it is useful in various situations. So you're right, it was port-binding permissions. But the default tcl config file will probably work on things that AREN'T Mandrake. :) Is there a Mandrake Linux section of an AOLServer FAQ hanging around this could go in? (uh oh... techdocs.postgresql.org started with a similar question...) :-) Regards and best wishes, Justin Clift HTH, HAND, - Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ -- My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there. - Indira Gandhi
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
On 2001.05.16, Justin Clift [EMAIL PROTECTED] wrote: I see from your email that AOLServer unconditionally puts in the -mcpu=ultrasparc, so that's likely the problem. I hadn't noticed it (didn't look real hard honestly). Just logged into the old sparc server now, removed the -mcpu=ultrasparc from include/Makefile.global and it's compiling presently. See how it goes. This makes sense, considering the error message I was getting. Please, let us know how things go. I was going to suggest changing the Makefile.global for SunOS to check `uname -m` to determine the appropriate -mcpu param, but I was wondering if it was intentionally done the way it is in Makefile.global. Errr... is there a Solaris FAQ for AOLServer? The Frequently-Asked-Questions link doesn't appear to be um.. a link on the AOLServer page. [...] Is there a Mandrake Linux section of an AOLServer FAQ hanging around this could go in? (uh oh... techdocs.postgresql.org started with a similar question...) People could ask questions on the AOLserver wiki, in particular, on the AOLserver FAQ page: http://panoptic.com/wiki/aolserver/AOLserverFAQ - Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0 (and now Solaris 8)
Hi Allanah, Yep. AOLServer 3.3.1 runs fine on Solaris 8 SPARC (the old SPARC 20) now that it's compiled without the -mcpu=ultrasparc option. Thanks heaps for that pointer. So... now AOLServer is working on both Solaris AND Mandrake. Cool. Better to have choices eh! :-) Is anyone interested in my writing up the notes I'm keeping into a Quick Install Guide for AOLServer 3.3.1 on Solaris 7/8? Regards and best wishes, Justin Clift Allanah Myles wrote: On 2001.05.16, Justin Clift [EMAIL PROTECTED] wrote: I see from your email that AOLServer unconditionally puts in the -mcpu=ultrasparc, so that's likely the problem. I hadn't noticed it (didn't look real hard honestly). Just logged into the old sparc server now, removed the -mcpu=ultrasparc from include/Makefile.global and it's compiling presently. See how it goes. This makes sense, considering the error message I was getting. Please, let us know how things go. I was going to suggest changing the Makefile.global for SunOS to check `uname -m` to determine the appropriate -mcpu param, but I was wondering if it was intentionally done the way it is in Makefile.global. Errr... is there a Solaris FAQ for AOLServer? The Frequently-Asked-Questions link doesn't appear to be um.. a link on the AOLServer page. [...] Is there a Mandrake Linux section of an AOLServer FAQ hanging around this could go in? (uh oh... techdocs.postgresql.org started with a similar question...) People could ask questions on the AOLserver wiki, in particular, on the AOLserver FAQ page: http://panoptic.com/wiki/aolserver/AOLserverFAQ - Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ -- My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition there. - Indira Gandhi
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
There has to be something -- anyone have any ideas? Is there a 'hostid' command? Another shot in the dark: does *BSD have anything like /proc/cpuinfo on linux? 'cat'ing it out gives you the CPU info. It would be a bit of a mess to use in the Makefile, but if *BSD has something like it, it might work for what you're trying to do. Here's the info I get on a Linux box: /proc/cpuinfo dev-scottg cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Pentium III (Katmai) stepping: 3 cpu MHz : 498.862 cache size : 512 KB fdiv_bug: no hlt_bug : no sep_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm bogomips: 996.15 /s.
Re: [AOLSERVER] AOLServer and Mandrake Linux 8.0
There has to be something -- anyone have any ideas? Is there a 'hostid' command? Another shot in the dark: is there anything like /proc/cpuinfo available? 'cat'ing it out gives you the CPU info. It would be a bit of a mess to use in the Makefile, but if you have access to something like it, it might work for what you're trying to do. Here's the info I get on a Linux box: /proc/cpuinfo dev-scottg cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Pentium III (Katmai) stepping: 3 cpu MHz : 498.862 cache size : 512 KB fdiv_bug: no hlt_bug : no sep_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm bogomips: 996.15 /s.