From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 12 Dec 2002 04:43:36 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 396 ************************************************** Wednesday 11 December 2002 Number 396 ************************************************** Subjects for today 1 Perl - Net::Config : John Poltorak 2 Re: RSYNC : Ted Sikora 3 Re: Re: Mailman:'module' object has no attribute 'symlink' : Ted Sikora 4 Re: Re: Mailman:'module' object has no attribute 'symlink' : Ted Sikora 5 Re: RSYNC : Ted Sikora 6 Re: Re: Mailman:'module' object has no attribute 'symlink' : Ted Sikora 7 Re: RSYNC : Ted Sikora 8 Re: RSYNC : Ted Sikora 9 Re: Perl - Net::Config : Lyn St George" 10 Re: RSYNC : Ted Sikora 11 Re: RSYNC : Ted Sikora 12 Foun some help for syslog : Ted Sikora 13 It works! : Ted Sikora 14 Re: Make bug?, was: got lost : Stefan Neis 15 Re: RSYNC : John Poltorak 16 Re: Make bug?, was: got lost : Ken Ames 17 Re: RSYNC : John Poltorak 18 Re: RSYNC : John Poltorak 19 Re: RSYNC : John Poltorak 20 Re: RSYNC : John Poltorak 21 rsyncd.conf : jimburke200 at earthlink.net (James E. Burke Jr.) 22 Re: It works! : John Poltorak 23 Re: RSYNC : Yuri Dario" 24 Re: It works! : Ted Sikora 25 Re: It works! : Ted Sikora 26 Mailman: It Works! : Ted Sikora 27 Re: rsyncd.conf : Ted Sikora 28 Re: Mailman:'module' object has no attribute 'symlink' : Andrew MacIntyre 29 Re: Mailman: It Works! : Ted Sikora 30 Re: Make bug?, was: got lost : Andreas Buening 31 Re: mkinstalldirs : Andreas Buening 32 Re: Ncurses UnixOS/2 package : Andreas Buening 33 Re: Building Autoconf from original source : Andreas Buening **= Email 1 ==========================** Date: Thu, 12 Dec 2002 08:11:55 +0000 From: John Poltorak Subject: Perl - Net::Config After reporting problems with Perl, I've been asked:- How is your Net::Config? What does this mean? How do I found out? -- John **= Email 2 ==========================** Date: Thu, 12 Dec 2002 09:07:45 -0500 From: Ted Sikora Subject: Re: RSYNC John Poltorak wrote: > > On Tue, Dec 10, 2002 at 06:46:45PM -0500, Ted Sikora wrote: > > Voytek Eymont wrote: > > > > > > ** Reply to note from John Poltorak Tue, 10 Dec 2002 22:56:34 +0000 > > > > > > > Maybe you've found the magic words needed to make it work. > > > > > > > > Anyway I'll give it another try... > > > > > > let us know how you go with it > > > > > > > Put these in /mptn/etc edit to suit your taste. > > Edit group and passwd If you don't have them you can copy them from > > your python/etc dir. Add a nobody group and user 99 is a good #. > > > > I'm trying root on mine just to see. You have to change it in > > rsyncd.conf too. > > > > Start it with: > > D:\path\rsync --config=/mptn/etc/rsyncd.conf -daemon > > in an OS/2 window. > > When I do this it stops immediately - no error msg. This is what it always > did in the past when I gave up on it. > > I do have a /var/run dir and copied your passwd and group files. > > I did try Yuri's version and that did start and I could connect and see > rsyncheader, but didn't manage to copy anything. > > > -- > > Ted Sikora > > tsikora at ntplx.net > > > # syslog facility = local3 > > How do I get to see any rsync msgs through my syslogd window? > In OS/2 I'm not sure but in Unix you uncomment the syslog line and add this to etc/syslog.conf using the path where you want the log file to be. local3.info /var/log/rsync.log -- Ted **= Email 3 ==========================** Date: Thu, 12 Dec 2002 09:23:28 -0500 From: Ted Sikora Subject: Re: Re: Mailman:'module' object has no attribute 'symlink' Andrew MacIntyre wrote: > > On Wed, 11 Dec 2002, Ted Sikora wrote: > > /unixos2/home/mailman/Mailman/Archiver/Archiver.py", line 42, in > > makelink > > os.symlink(old, new) > > AttributeError: 'module' object has no attribute 'symlink' > > Damn. Trying to emulate what Mailman wants to do here is going to be > a lot of work :-(. > > If you can do without archiving, try the attached patch to > Mailman/mm_cfg.py (Mailman_mm_cfg.py.patch). This completely disables > archiving. > I was getting a lot of errors pertaining to this when using rmlist and then trying to remake 'same name' lists. When I used rmlist it gave archive errors and failed to remove the list. I had to do it manually. Mailman makes symlinks for them and could not remove them. I thought by using ln=cp it avoids this? > I've attached another speculative patch to Mailman/Archiver/Archiver.py > (Mailman_Archiver_Archiver.py.patch) which should allow private archiving > _only_ regardless of whether the list is set to public or private archives. > I can live without it... don't know about anyone else. I'll try it in a while. I have to go through all the dirs/files and make sendmail neutral. It's written with the Unix path locations /usr/sbin/sendmail for the bin and the Unix .cf locations. I was just going to make it 'sendmail' for the bin and for the other files at ETC at should work. -- Ted **= Email 4 ==========================** Date: Thu, 12 Dec 2002 09:32:44 -0500 From: Ted Sikora Subject: Re: Re: Mailman:'module' object has no attribute 'symlink' Ted Sikora wrote: > > Andrew MacIntyre wrote: > > > > On Wed, 11 Dec 2002, Ted Sikora wrote: > > > > /unixos2/home/mailman/Mailman/Archiver/Archiver.py", line 42, in > > > makelink > > > os.symlink(old, new) > > > AttributeError: 'module' object has no attribute 'symlink' > > > > Damn. Trying to emulate what Mailman wants to do here is going to be > > a lot of work :-(. > > > > If you can do without archiving, try the attached patch to > > Mailman/mm_cfg.py (Mailman_mm_cfg.py.patch). This completely disables > > archiving. > > > I was getting a lot of errors pertaining to this when using rmlist and > then trying to remake 'same name' lists. When I used rmlist it gave > archive errors and failed to remove the list. I had to do it manually. > Mailman makes symlinks for them and could not remove them. I thought by > using ln=cp it avoids this? It's not making the dirs in the first place with newlist. Maybe we can change ln to mkdir in newlist instead? This may solve the problem. -- Ted **= Email 5 ==========================** Date: Thu, 12 Dec 2002 09:52:03 -0500 From: Ted Sikora Subject: Re: RSYNC John Poltorak wrote: > > On Thu, Dec 12, 2002 at 09:07:45AM -0500, Ted Sikora wrote: > > John Poltorak wrote: > > > > > -- > > > > Ted Sikora > > > > tsikora at ntplx.net > > > > > > > # syslog facility = local3 > > > > > > How do I get to see any rsync msgs through my syslogd window? > > > > > > > In OS/2 I'm not sure but in Unix you uncomment the syslog line and add > > this to etc/syslog.conf using the path where you want the log file to > > be. > > > > local3.info /var/log/rsync.log > > I managed to get some out by using this line in SYSLOG.CONF:- > > *.debug CON > > Still can't get RSYNC to send anything... > > Could you try:- ? > > rsync 213:152:37:: > > and see if you can get anything... > > I can't work out what's going wrong. > Are you using inetd? It's doing what mine did on it. It just hangs. Start it in a term and I'll try it again. -- Ted **= Email 6 ==========================** Date: Thu, 12 Dec 2002 09:56:50 -0500 From: Ted Sikora Subject: Re: Re: Mailman:'module' object has no attribute 'symlink' Ted Sikora wrote: > > Andrew MacIntyre wrote: > > > > On Wed, 11 Dec 2002, Ted Sikora wrote: > > > > /unixos2/home/mailman/Mailman/Archiver/Archiver.py", line 42, in > > > makelink > > > os.symlink(old, new) > > > AttributeError: 'module' object has no attribute 'symlink' > > > > Damn. Trying to emulate what Mailman wants to do here is going to be > > a lot of work :-(. > > > > If you can do without archiving, try the attached patch to > > Mailman/mm_cfg.py (Mailman_mm_cfg.py.patch). This completely disables > > archiving. > > > I was getting a lot of errors pertaining to this when using rmlist and > then trying to remake 'same name' lists. When I used rmlist it gave > archive errors and failed to remove the list. I had to do it manually. > Mailman makes symlinks for them and could not remove them. I thought by > using ln=cp it avoids this? > I know this is a cheap shot but how about renaming cp to ln? -- Ted **= Email 7 ==========================** Date: Thu, 12 Dec 2002 10:15:34 -0500 From: Ted Sikora Subject: Re: RSYNC John Poltorak wrote: > > On Thu, Dec 12, 2002 at 09:52:03AM -0500, Ted Sikora wrote: > > > > Still can't get RSYNC to send anything... > > > > > > Could you try:- ? > > > > > > rsync 213:152:37:: > > > > > > and see if you can get anything... > > > > > > I can't work out what's going wrong. > > > > > > > Are you using inetd? It's doing what mine did on it. It just hangs. > > Start it in a term and I'll try it again. > > When I start v2.4.6 in daemon mode in a window - (not from INETD), it > doesn't hang, it just comes straight back to the command prompt. > > v2.5.5 seems to start up OK in daemon mode, but I can't transfer anything > from it. It just says:- > > client: nothing to do > > > -- > > Ted > > -- > John What command line are you using to start it? **= Email 8 ==========================** Date: Thu, 12 Dec 2002 10:27:02 -0500 From: Ted Sikora Subject: Re: RSYNC Ted Sikora wrote: > > John Poltorak wrote: > > > > On Thu, Dec 12, 2002 at 09:52:03AM -0500, Ted Sikora wrote: > > > > > > Still can't get RSYNC to send anything... > > > > > > > > Could you try:- ? > > > > > > > > rsync 213:152:37:: > > > > > > > > and see if you can get anything... > > > > > > > > I can't work out what's going wrong. > > > > > > > > > > Are you using inetd? It's doing what mine did on it. It just hangs. > > > Start it in a term and I'll try it again. > > > > When I start v2.4.6 in daemon mode in a window - (not from INETD), it > > doesn't hang, it just comes straight back to the command prompt. > > > > v2.5.5 seems to start up OK in daemon mode, but I can't transfer anything > > from it. It just says:- > > > > client: nothing to do > > > > > -- > > > Ted > > > > -- > > John > > What command line are you using to start it? It may be starting and you don't realize it. When you do it in a term does the prompt come back? If not it's running and just minimize the window. **= Email 9 ==========================** Date: Thu, 12 Dec 2002 10:38:20 +0000 From: "Lyn St George" Subject: Re: Perl - Net::Config On Thu, 12 Dec 2002 08:11:55 +0000, John Poltorak wrote: > >After reporting problems with Perl, I've been asked:- > >How is your Net::Config? > >What does this mean? How do I found out? This module is probably not installed. Go to http://www.cpan.org and get it. Installing modules is as easy as: perl Makefile.PL make make install Just checked (in /usr/lib/perl5/site_perl/5.8.0/Net) and it's part of libnet - cpan.org/modules/by-module/Net >-- >John - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 10 ==========================** Date: Thu, 12 Dec 2002 11:11:15 -0500 From: Ted Sikora Subject: Re: RSYNC John Poltorak wrote: > > On Thu, Dec 12, 2002 at 10:27:02AM -0500, Ted Sikora wrote: > > > > > > > Could you try:- ? > > > > > > > > > > > > rsync 213:152:37:: > > > > > > > > > > > > and see if you can get anything... > > > > > > > > > > > > I can't work out what's going wrong. > > > > > > > > > > > > > > > > Are you using inetd? It's doing what mine did on it. It just hangs. > > > > > Start it in a term and I'll try it again. > > > > > > > > When I start v2.4.6 in daemon mode in a window - (not from INETD), it > > > > doesn't hang, it just comes straight back to the command prompt. > > > > > > > > v2.5.5 seems to start up OK in daemon mode, but I can't transfer anything > > > > from it. It just says:- > > > > > > > > client: nothing to do > > > > > > > > > -- > > > > > Ted > > > > > > > > -- > > > > John > > > > > > What command line are you using to start it? > > In both instances, I run:- > > rsync --config=/etc/rsyncd.conf --daemon > > > It may be starting and you don't realize it. When you do it in a term > > does the prompt come back? If not it's running and just minimize the > > window. > > I thought might be starting a detached process, but it doesn't show up > under TOP, netstat -s does not see anything on port 873, and I get > connetion refused from a remote host. When I start it (2.4.6) it returns > almost immediately without any messages. The '-v' option doesn't help > either. > > -- > John What's your rsync.conf? Did you create a /var/run dir? Did you add: rsync 873/tcp rsync 873/udp to etc/services ? Here's the important part with 246a put the bin and the packaged z.dll in the same dir not on your path ie; d:\rsync It needs that z.dll and that one only. I got syslog up and running on localhost but syslog.msg is empty. How do you add logging to OS/2? The syslog.cnf examples are just for setting up the logging itself. I made a syslog.conf but it does nothing. Their is a syslog.sml but that is sys msg's without syslog. Is there an OS/2 syslog faq anywhere? -- Ted **= Email 11 ==========================** Date: Thu, 12 Dec 2002 11:48:31 -0500 From: Ted Sikora Subject: Re: RSYNC Yuri Dario wrote: > > Hi John, > > >Could you try:- ? > >rsync 213:152:37:: > > you should specify a full ip address (or name) using dots. Also you have to open firewall ports. > Geez brain dead today I did not notice either. I actually tried it. -- Ted **= Email 12 ==========================** Date: Thu, 12 Dec 2002 11:56:46 -0500 From: Ted Sikora Subject: Foun some help for syslog Using OS/2 Logging Facility Commands Logging is enabled by statements in the CONFIG.SYS file that are added when the OS/2 program is installed. If logging has been disabled, refer to the following instructions to re-enable it. Modifying the CONFIG.SYS File for Logging To enable alert logging and write alerts to a file, the following two statements must be in the CONFIG.SYS file: RUN=d:\OS2\EPW.EXE ON RUN=d:\OS2\EPWROUT.EXE -1 The drive d: represents the drive where FFST for OS/2 is installed. Note that the equal sign (=) cannot be immediately preceded or followed by a blank space. Using the syslog Command Use the syslog command to view the error log, or to suspend or resume logging. When issued without parameters, this command displays the OS/2 Error Log Formatter window, which shows a formatted version of the OS/2 system error log file and provides menus to perform actions such as suspending or resuming logging. With parameters, the syslog command can be used directly to suspend or resume logging. Its syntax is as follows: >>-syslog--+----+---------------------------------------------->< +-/s-+ '-/r-' The optional parameter s suspends logging, while the optional parameter r resumes logging. For information about the syslog command, type the following from an OS/2 command line: help syslog **= Email 13 ==========================** Date: Thu, 12 Dec 2002 12:01:52 -0500 From: Ted Sikora Subject: It works! You using v255 and inetd? (~)>rsync 213.152.37.92:: UnixOS/2 Build System --------------------- Downloads: pub (Public Downloads) build (UnixOS/2 Build System) secret (password protected stuff) (~)>rsync -av --delete 213.152.37.92::build /work/tmp UnixOS/2 Build System --------------------- Downloads: receiving file list ... done ... ux2_inst.cmd ux2_inst.cmd.001 wget.exe wgetrc wrote 488 bytes read 224579 bytes 21434.95 bytes/sec total size is 222908 speedup is 0.99 Does the password work on yours? Does not in v246a -- Ted **= Email 14 ==========================** Date: Thu, 12 Dec 2002 12:28:17 +0100 (CET) From: Stefan Neis Subject: Re: Make bug?, was: got lost On Tue, 10 Dec 2002, Ken Ames wrote: > [X:\wxwindows-2.3.4\gcc-build\pm]gmake > gmake: /wxWindows-2.3.4/install-sh: Command not found > > I sure wish there was a standard install for all these unix type tools > to build with. I appreciate all your help. Hm, that should be part of the wxWindows package. Not sure what's going on here... Ah, wait, your make might be using "cmd.exe" as shell which would explain the error message. Try to set all of MAKE_SHELL, SHELL, COMSPEC and anything else which might seem relevant to a unix-type shell and call make again. :-( Sorry, but shell selection is a real mess with all those variants of GNU make. :-( Regards, Stefan **= Email 15 ==========================** Date: Thu, 12 Dec 2002 12:58:46 +0000 From: John Poltorak Subject: Re: RSYNC On Tue, Dec 10, 2002 at 06:46:45PM -0500, Ted Sikora wrote: > Voytek Eymont wrote: > > > > ** Reply to note from John Poltorak Tue, 10 Dec 2002 22:56:34 +0000 > > > > > Maybe you've found the magic words needed to make it work. > > > > > > Anyway I'll give it another try... > > > > let us know how you go with it > > > > Put these in /mptn/etc edit to suit your taste. > Edit group and passwd If you don't have them you can copy them from > your python/etc dir. Add a nobody group and user 99 is a good #. > > I'm trying root on mine just to see. You have to change it in > rsyncd.conf too. > > Start it with: > D:\path\rsync --config=/mptn/etc/rsyncd.conf -daemon > in an OS/2 window. When I do this it stops immediately - no error msg. This is what it always did in the past when I gave up on it. I do have a /var/run dir and copied your passwd and group files. I did try Yuri's version and that did start and I could connect and see rsyncheader, but didn't manage to copy anything. > -- > Ted Sikora > tsikora at ntplx.net > # syslog facility = local3 How do I get to see any rsync msgs through my syslogd window? -- John **= Email 16 ==========================** Date: Thu, 12 Dec 2002 13:40:20 -0800 From: Ken Ames Subject: Re: Make bug?, was: got lost hi Stefan, after about an hour of head scratching I started looking some more. You are correct, it was an error from cmd.exe. after looking in my emx\bin directory, I found ash.exe was gone! dont know why but it was. dl'ed it from unixos2.com and put it there and the build went fine after that. thanks for all your help. Ken Stefan Neis wrote: >On Tue, 10 Dec 2002, Ken Ames wrote: > > > >>[X:\wxwindows-2.3.4\gcc-build\pm]gmake >>gmake: /wxWindows-2.3.4/install-sh: Command not found >> >>I sure wish there was a standard install for all these unix type tools >>to build with. I appreciate all your help. >> here I meant a standard installation of all the different unix-like tools, not the actual install itself. >> >> > >Hm, that should be part of the wxWindows package. Not sure what's going >on here... >Ah, wait, your make might be using "cmd.exe" as shell which would >explain the error message. Try to set all of MAKE_SHELL, SHELL, COMSPEC >and anything else which might seem relevant to a unix-type shell and >call make again. :-( >Sorry, but shell selection is a real mess with all those variants of GNU >make. :-( > > Regards, > Stefan > > > > > > **= Email 17 ==========================** Date: Thu, 12 Dec 2002 14:21:08 +0000 From: John Poltorak Subject: Re: RSYNC On Thu, Dec 12, 2002 at 09:07:45AM -0500, Ted Sikora wrote: > John Poltorak wrote: > > > -- > > > Ted Sikora > > > tsikora at ntplx.net > > > > > # syslog facility = local3 > > > > How do I get to see any rsync msgs through my syslogd window? > > > > In OS/2 I'm not sure but in Unix you uncomment the syslog line and add > this to etc/syslog.conf using the path where you want the log file to > be. > > local3.info /var/log/rsync.log I managed to get some out by using this line in SYSLOG.CONF:- *.debug CON Still can't get RSYNC to send anything... Could you try:- ? rsync 213:152:37:: and see if you can get anything... I can't work out what's going wrong. > > -- > Ted -- John **= Email 18 ==========================** Date: Thu, 12 Dec 2002 14:49:36 +0000 From: John Poltorak Subject: Re: RSYNC On Thu, Dec 12, 2002 at 09:52:03AM -0500, Ted Sikora wrote: > > Still can't get RSYNC to send anything... > > > > Could you try:- ? > > > > rsync 213:152:37:: > > > > and see if you can get anything... > > > > I can't work out what's going wrong. > > > > Are you using inetd? It's doing what mine did on it. It just hangs. > Start it in a term and I'll try it again. When I start v2.4.6 in daemon mode in a window - (not from INETD), it doesn't hang, it just comes straight back to the command prompt. v2.5.5 seems to start up OK in daemon mode, but I can't transfer anything from it. It just says:- client: nothing to do > -- > Ted -- John **= Email 19 ==========================** Date: Thu, 12 Dec 2002 15:25:30 +0000 From: John Poltorak Subject: Re: RSYNC On Thu, Dec 12, 2002 at 10:27:02AM -0500, Ted Sikora wrote: > > > > > Could you try:- ? > > > > > > > > > > rsync 213:152:37:: > > > > > > > > > > and see if you can get anything... > > > > > > > > > > I can't work out what's going wrong. > > > > > > > > > > > > > Are you using inetd? It's doing what mine did on it. It just hangs. > > > > Start it in a term and I'll try it again. > > > > > > When I start v2.4.6 in daemon mode in a window - (not from INETD), it > > > doesn't hang, it just comes straight back to the command prompt. > > > > > > v2.5.5 seems to start up OK in daemon mode, but I can't transfer anything > > > from it. It just says:- > > > > > > client: nothing to do > > > > > > > -- > > > > Ted > > > > > > -- > > > John > > > > What command line are you using to start it? In both instances, I run:- rsync --config=/etc/rsyncd.conf --daemon > It may be starting and you don't realize it. When you do it in a term > does the prompt come back? If not it's running and just minimize the > window. I thought might be starting a detached process, but it doesn't show up under TOP, netstat -s does not see anything on port 873, and I get connetion refused from a remote host. When I start it (2.4.6) it returns almost immediately without any messages. The '-v' option doesn't help either. -- John **= Email 20 ==========================** Date: Thu, 12 Dec 2002 16:36:46 +0000 From: John Poltorak Subject: Re: RSYNC On Thu, Dec 12, 2002 at 05:29:36PM +0100, Yuri Dario wrote: > Hi John, > > >Could you try:- ? > >rsync 213:152:37:: > > you should specify a full ip address (or name) using dots. Also you have to open firewall ports. Arghhh!!!! I should read my own posts - it's a typo. Should be:- rsync 213.152.37.92:: > > Bye, > > Yuri Dario > > /* > * member of TeamOS/2 - Italy > * http://www.quasarbbs.net/yuri > * http://www.teamos2.it > * http://www.opera.com/os2/ > */ -- John **= Email 21 ==========================** Date: Thu, 12 Dec 2002 17:00:44 -0800 From: jimburke200 at earthlink.net (James E. Burke Jr.) Subject: rsyncd.conf What program am I supposed to use to read/edit rsyncd.conf file? .TH "rsyncd\&.conf" "5" "12 Feb 1999" "" "" .SH "NAME" rsyncd\&.conf \- configuration file for rsync server .SH "SYNOPSIS" .PP rsyncd\&.conf .PP .SH "DESCRIPTION" .PP The rsyncd\&.conf file is the runtime configuration file for rsync when run with the --daemon option\&. When run in this way rsync becomes a rsync server listening on TCP port 873\&. Connections from rsync clients are accepted for either anonymous or authenticated rsync sessions\&. .PP The rsyncd\&.conf file controls authentication, access, logging and available modules\&. .PP .SH "FILE FORMAT" .PP The file consists of modules and parameters\&. A module begins with the name of the module in square brackets and continues until the next I'm trying to configure it to transfer files, but so far I just get error messages: RSH 3003: Connection refused-- retrying RSH 3003: Connection refused-- retrying RSH 3003: Connection refused-- retrying RSH 3003: Connection refused-- retrying RSH 3003: Connection refused-- retrying RSH 2020: Could not establish a connection to 192.168.1.3 rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) **= Email 22 ==========================** Date: Thu, 12 Dec 2002 17:06:40 +0000 From: John Poltorak Subject: Re: It works! YO! This is an app I've wanted to have for a long time. Chistmas has come early this year! Who knows, the Mailman still might get here as well :-)... It seems like 2.4.6 doesn't like my system for some reason, and it's annoying that I haven't been able to make it work. Oh well... On Thu, Dec 12, 2002 at 12:01:52PM -0500, Ted Sikora wrote: > You using v255 Yes > and inetd? no > > (~)>rsync 213.152.37.92:: > > UnixOS/2 Build System > --------------------- > Downloads: > > pub (Public Downloads) > build (UnixOS/2 Build System) > secret (password protected stuff) > > > (~)>rsync -av --delete 213.152.37.92::build /work/tmp ------------^^^^ I didn't know about this option. > > UnixOS/2 Build System > --------------------- > Downloads: > > receiving file list ... done > ... > > ux2_inst.cmd > ux2_inst.cmd.001 > wget.exe > wgetrc > wrote 488 bytes read 224579 bytes 21434.95 bytes/sec > total size is 222908 speedup is 0.99 Yes I got it this time, but I also got an error msg:- rsync error: unexplained error (code 188) at main.c(935) > Does the password work on yours? Does not in v246a I haven't investigated it properly yet, but will try out ofter reading some docs. > -- > Ted -- John **= Email 23 ==========================** Date: Thu, 12 Dec 2002 17:29:36 +0100 (CET) From: "Yuri Dario" Subject: Re: RSYNC Hi John, >Could you try:- ? >rsync 213:152:37:: you should specify a full ip address (or name) using dots. Also you have to open firewall ports. Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.quasarbbs.net/yuri * http://www.teamos2.it * http://www.opera.com/os2/ */ **= Email 24 ==========================** Date: Thu, 12 Dec 2002 18:17:00 -0500 From: Ted Sikora Subject: Re: It works! Ted Sikora wrote: > > You using v255 and inetd? > > (~)>rsync 213.152.37.92:: > > UnixOS/2 Build System > --------------------- > Downloads: > > pub (Public Downloads) > build (UnixOS/2 Build System) > secret (password protected stuff) > > (~)>rsync -av --delete 213.152.37.92::build /work/tmp > > UnixOS/2 Build System > --------------------- > Downloads: > > receiving file list ... done > ... > > ux2_inst.cmd > ux2_inst.cmd.001 > wget.exe > wgetrc > wrote 488 bytes read 224579 bytes 21434.95 bytes/sec > total size is 222908 speedup is 0.99 > > Does the password work on yours? Does not in v246a > > Be *very careful* with the --delete option it deletes all files in the dir specified for downloads.. makes a mirror. If you forget the path it will imediately delete all files in the case of OS/2 your root directory. -- Ted **= Email 25 ==========================** Date: Thu, 12 Dec 2002 18:26:32 -0500 From: Ted Sikora Subject: Re: It works! Ted Sikora wrote: > > Ted Sikora wrote: > > > > You using v255 and inetd? > > > > (~)>rsync 213.152.37.92:: > > > > UnixOS/2 Build System > > --------------------- > > Downloads: > > > > pub (Public Downloads) > > build (UnixOS/2 Build System) > > secret (password protected stuff) > > > > (~)>rsync -av --delete 213.152.37.92::build /work/tmp > > > > UnixOS/2 Build System > > --------------------- > > Downloads: > > > > receiving file list ... done > > ... > > > > ux2_inst.cmd > > ux2_inst.cmd.001 > > wget.exe > > wgetrc > > wrote 488 bytes read 224579 bytes 21434.95 bytes/sec > > total size is 222908 speedup is 0.99 > > > > Does the password work on yours? Does not in v246a > > > > > Be *very careful* with the --delete option it deletes all files in the > dir specified for downloads.. makes a mirror. > If you forget the path it will imediately delete all files in the case > of OS/2 your root directory. > What makes rsync so cool is maintaining mirrors. The example I gave you will initially clone the module ::build in my download above. Once you have it it just checks for changes if none it does nothing if a file was added or removed it adds or removes as needed. Fast and real neat! I hope Ian(hint) installs it. Will make mirroring UnixOS/2 a snap. -- Ted **= Email 26 ==========================** Date: Thu, 12 Dec 2002 19:19:00 -0500 From: Ted Sikora Subject: Mailman: It Works! You the man Andrew, you the man! I have to go out for a while when I get back I'll test it further and set ip up. Here's the results: (with the mm_cfg patch) ./newlist Enter the name of the list: UnixOS2 Enter the email of the person running the list: ted at powerusersbbs.net Initial unixos2 password: Entry for aliases file: ## unixos2 mailing list ## created: 12-Dec-2002 root unixos2: "|/unixos2/home/mailman/mail/wrapper post unixos2" unixos2-admin: "|/unixos2/home/mailman/mail/wrapper mailowner unixos2" unixos2-request: "|/unixos2/home/mailman/mail/wrapper mailcmd unixos2" unixos2-owner: unixos2-admin Hit enter to continue with unixos2 owner notification... Need to make sendmail work now. We can worry about Archives later. -- Ted **= Email 27 ==========================** Date: Thu, 12 Dec 2002 21:34:23 -0500 From: Ted Sikora Subject: Re: rsyncd.conf This is a multi-part message in MIME format. --------------03384F8F7CD8C058BCD920D0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "James E. Burke Jr." wrote: > > What program am I supposed to use to read/edit rsyncd.conf file? > > .PP > The file consists of modules and parameters\&. A module begins with the > name of the module in square brackets and continues until the next > > I'm trying to configure it to transfer files, but so far I just get error > messages: > > RSH 3003: Connection refused-- retrying > RSH 3003: Connection refused-- retrying > RSH 3003: Connection refused-- retrying > RSH 3003: Connection refused-- retrying > RSH 3003: Connection refused-- retrying > RSH 2020: Could not establish a connection to 192.168.1.3 > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(150) > Create a \var\run directory on your machine and copy the attachments to your \mptn\etc directory edit the path for sections ie; [pub] etc, sections reflecting what you want downloads to allow in rsyncd.conf. If using v246a put rsync.exe and z.dll in it's own dir not in your path. Start with: x:\path\rsync --config=/mptn/etc/rsyncd.conf --daemon -- Ted --------------03384F8F7CD8C058BCD920D0 Content-Type: text/plain; charset=us-ascii; name="rsyncd.conf" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rsyncd.conf" ## ## rsync.conf server file # motd file = /mptn/etc/rsyncheader max connections = 0 # syslog facility = local3 use chroot = no uid = nobody gid = nobody lock file = /var/run/rsyncd.lock pid file = /var/run/rsyncd.pid [pub] comment = (Public Downloads) path = /ftp/pub read only = yes list = yes [test] comment = (Current Projects) path = /ftp/test read only = yes list = yes [incoming] comment = (Public Uploads) path = /ftp/incoming read only = yes list = yes [cvs] comment = (cvs server) path = /ftp/cvs auth users = os2 secrets file = /mptn/etc/rsyncd.secrets ## **= Email 28 ==========================** Date: Thu, 12 Dec 2002 21:40:48 +1000 (est) From: Andrew MacIntyre Subject: Re: Mailman:'module' object has no attribute 'symlink' This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime at docserver.cac.washington.edu for more info. ---888574994-13233-1039693248=:797 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 11 Dec 2002, Ted Sikora wrote: > New patch results: > > Initial test password: > Traceback (most recent call last): > File "./newlist", line 220, in ? > main() > File "./newlist", line 169, in main > mlist.Create(listname, owner_mail, pw) > File "/unixos2/home/mailman/Mailman/MailList.py", line 798, in Create > self.Save() > File "/unixos2/home/mailman/Mailman/MailList.py", line 868, in Save > self.CheckHTMLArchiveDir() > File "/unixos2/home/mailman/Mailman/Archiver/Archiver.py", line 256, > in CheckH > TMLArchiveDir > makelink(privdir, pubdir) > File "/unixos2/home/mailman/Mailman/Archiver/Archiver.py", line 42, in > makelink > os.symlink(old, new) > AttributeError: 'module' object has no attribute 'symlink' Damn. Trying to emulate what Mailman wants to do here is going to be a lot of work :-(. If you can do without archiving, try the attached patch to Mailman/mm_cfg.py (Mailman_mm_cfg.py.patch). This completely disables archiving. I've attached another speculative patch to Mailman/Archiver/Archiver.py (Mailman_Archiver_Archiver.py.patch) which should allow private archiving _only_ regardless of whether the list is set to public or private archives. If you apply the mm_cfg.py patch, the second patch never comes into play. I don't believe we can support public archives directly without a lot of code being added to Archiver.py. Supporting public archives could be added in an auxiliary script to copy the private archives (which appear to always exist when archiving is enabled for a list) to the public archives directory. This auxiliary script would have to be run from cron (or whatever). It would have to dig out of the list configuration DB whether a particular list has a public archive or not. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au | Snail: PO Box 370 andymac at pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia ---888574994-13233-1039693248=:797 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Mailman_mm_cfg.py.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Mailman_mm_cfg.py.patch Content-Disposition: attachment; filename="Mailman_mm_cfg.py.patch" KioqIG1tX2NmZy5weS5kaXN0CU1vbiBOb3YgMTggMTY6MDM6MDggMjAwMg0K LS0tIG1tX2NmZy5weQlUaHUgRGVjIDEyIDIxOjA5OjM0IDIwMDINCioqKioq KioqKioqKioqKg0KKioqIDQyLDQ0ICoqKioNCi0tLSA0Miw0NiAtLS0tDQog IA0KICAjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjIw0KICAjIFB1dCBZT1VSIHNpdGUtc3BlY2lmaWMgc2V0dGlu Z3MgYmVsb3cgdGhpcyBsaW5lLg0KKyANCisgQVJDSElWRV9UT19NQk9YID0g LTENCg== ---888574994-13233-1039693248=:797 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Mailman_Archiver_Archiver.py.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Mailman_Archiver_Archiver.py.patch Content-Disposition: attachment; filename="Mailman_Archiver_Archiver.py.patch" KioqIEFyY2hpdmVyLnB5Lm9yaWcJV2VkIFNlcCAyMCAxMzoyNjoxOCAyMDAw DQotLS0gQXJjaGl2ZXIucHkJVGh1IERlYyAxMiAyMTozNzowMCAyMDAyDQoq KioqKioqKioqKioqKioNCioqKiAyNTMsMjU3ICoqKioNCiAgICAgICAgICAg ICAgYnJlYWtsaW5rKHB1YmRpcikNCiAgICAgICAgICAgICAgYnJlYWtsaW5r KHB1Ym1ib3gpDQogICAgICAgICAgZWxzZToNCiEgICAgICAgICAgICAgbWFr ZWxpbmsocHJpdmRpciwgcHViZGlyKQ0KISAgICAgICAgICAgICBtYWtlbGlu ayhwcml2bWJveCwgcHVibWJveCkNCi0tLSAyNTMsMjU3IC0tLS0NCiAgICAg ICAgICAgICAgYnJlYWtsaW5rKHB1YmRpcikNCiAgICAgICAgICAgICAgYnJl YWtsaW5rKHB1Ym1ib3gpDQogICAgICAgICAgZWxzZToNCiEgICAgICAgICAg ICAgI21ha2VsaW5rKHByaXZkaXIsIHB1YmRpcikNCiEgICAgICAgICAgICAg I21ha2VsaW5rKHByaXZtYm94LCBwdWJtYm94KQ0K ---888574994-13233-1039693248=:797-- **= Email 29 ==========================** Date: Thu, 12 Dec 2002 21:57:52 -0500 From: Ted Sikora Subject: Re: Mailman: It Works! Ted Sikora wrote: > > You the man Andrew, you the man! I have to go out for a while when I get > back I'll test it further and set ip up. > Not quite but you still the man.... Mailman error log when trying to save changes via the cgi interface. Won't save changes. at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at admin(3206): [----- Mailman Version: 2.0.13 -----] admin(3206): [----- Traceback ------] admin(3206): Traceback (most recent call last): admin(3206): File "/unixos2/home/mailman/scripts/driver", line 96, in run_main admin(3206): main() admin(3206): File "/unixos2/home/mailman/Mailman/Cgi/admin.py", line 175, in main admin(3206): mlist.Save() admin(3206): File "/unixos2/home/mailman/Mailman/MailList.py", line 864, in Save admin(3206): self.__save(dict) admin(3206): File "/unixos2/home/mailman/Mailman/MailList.py", line 843, in __save admin(3206): os.rename(fname_tmp, fname) admin(3206): OSError: [Errno 13] Permission denied Getting closer. -- Ted **= Email 30 ==========================** Date: Thu, 12 Dec 2002 22:20:08 +0100 From: Andreas Buening Subject: Re: Make bug?, was: got lost Stefan Neis wrote: > > On Tue, 10 Dec 2002, Ken Ames wrote: > > > [X:\wxwindows-2.3.4\gcc-build\pm]gmake > > gmake: /wxWindows-2.3.4/install-sh: Command not found > > > > I sure wish there was a standard install for all these unix type tools > > to build with. I appreciate all your help. > > Hm, that should be part of the wxWindows package. Not sure what's going > on here... > Ah, wait, your make might be using "cmd.exe" as shell which would > explain the error message. Try to set all of MAKE_SHELL, SHELL, COMSPEC > and anything else which might seem relevant to a unix-type shell and > call make again. :-( > Sorry, but shell selection is a real mess with all those variants of GNU > make. :-( The simplest way would be if the maintainer puts "SHELL = /bin/sh" into the Makefiles. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. **= Email 31 ==========================** Date: Thu, 12 Dec 2002 22:20:19 +0100 From: Andreas Buening Subject: Re: mkinstalldirs Thomas Dickey wrote: > > On Wed, Dec 11, 2002 at 03:14:29PM +0000, John Poltorak wrote: > > > > Is the mkinstalldirs shell script included in Autoconf v2.57 suitable for > > use on OS/2 or not? > > it doesn't know about drive letters, if that's what you mean. Not exactly. At least if they haven't changed it recently. It uses "mkdir -p" which knows about drive letters. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. **= Email 32 ==========================** Date: Thu, 12 Dec 2002 22:20:46 +0100 From: Andreas Buening Subject: Re: Ncurses UnixOS/2 package John Poltorak wrote: > > On Tue, Dec 10, 2002 at 12:58:12PM +0100, Michael Zolk wrote: > > On Sun, Dec 08, 2002 at 10:58:41AM +0000, John Poltorak wrote: > > > > > What about man pages? Did we ever agree on the preferred location for > > > them? > > > > I think according to the FHS /usr/share/man is the correct location for > > man pages. > > I think this is something we need to agree on. > > Personally, this location is fine with me, but it would be useful if > everyone accepted it. I guess, you won't get any feedback on this issue. We already had a discussion about this. There were no objections so I consider this as "accepted". > Is there a way to get configure to use this location for installing man > pages? --mandir=x:/usr/share/man Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. **= Email 33 ==========================** Date: Thu, 12 Dec 2002 22:20:53 +0100 From: Andreas Buening Subject: Re: Building Autoconf from original source John Poltorak wrote: > > In the docs for building Autoconf (2.53b), it says:- > > a) * Developers only - All other people should really skip section II.a) * > To recreate the configuration files enter: > > export EMXSHELL=ksh > aclocal -I config > automake > autoconf > > Which autoconf does this refer to? In principle you can use every compatible autoconf version. However, for self consistency you'd better use the version that is contained in the package. > Or should I install this version first > and then run the commands above? Normally, only the maintainer needs to run autoconf. All other people are supposed to use just ./configure. > Has anyone managed to get this working? I'm having problems trying to > build autoconf from the original source, although It has worked in the > past. Since I change almost all my Unix environment fairly frequently, > it's difficult to pinpoint why it doesn't work now. Sorry, I haven't followed the discussion completely. What exactly are your problems? Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.