Thread: Re: [cgiirc-general] Intall issue - nph-irc.cgi
Brought to you by:
dgl
|
From: David L. <dg...@dg...> - 2004-02-22 17:32:40
|
Nighthawk wrote: > Hi all > > Having a problem getting cgi:irc to run > Had to uncomment the Begin line for directory change and now this error > occurs: > > Insecure dependency in chdir while running with -T switch at > /d4/d8/e-interactiv.net/cgi-bin/irc/nph-irc.cgi line 22. > BEGIN failed--compilation aborted at > /d4/d8/e-interactiv.net/cgi-bin/irc/nph-irc.cgi line 22. > > Any suggestions on how to get around this Remove the T from the first line of nph-irc.cgi. |
|
From: Julien W. <fl...@mi...> - 2004-02-22 22:34:53
|
On Sun, 22 Feb 2004, Nighthawk wrote: > OK you guys will have to bear with me I know very little perl and this is an > ISP hosted shell so the config is somewhat foreign > > The CGI:IRC is installed in /cgi-bin/irc the images in /html/images > I have created a tmp dir under irc so /cgi-bin/irc/tmp and made it 777 > > I'm a little lost on the comment: > "check if the parent directories for this mkdir exist at all. If not, > create them" > I'm not really sure what directories I should be looking for or making? > Also when changing the path in client-perl.cgi what is the path syntax ie > from the cgi executing or from the root > > Ie $PREFIX = "/tmp/cgiirc-"; or $PREFIX = "/cgi-bin/irc/tmp/cgiirc-"; You're free to use the second form, if you created this directory. (BTW, tmp should be 1777 (with the sticky bit), not simply 777. Or maybe 755 depending on your setup). Don't forget to change this in cgiirc.conf too. -- Julien |
|
From: Nighthawk <nig...@bi...> - 2004-02-22 23:31:46
|
Well this seems to progressing, but slowly, I created the tmp directory and changed the paths in clinet-perl and cgiirc.config, now I get a new error: [16:21] *** Welcome to CGI:IRC 0.5.4 (2004/01/29) [16:21] *** Looking up chat.biteme-irc.net [16:21] *** An error occured: Looking up address: Bad file number |
|
From: David L. <dg...@dg...> - 2004-02-23 01:34:03
|
Nighthawk wrote: > Well this seems to progressing, but slowly, I created the tmp directory and > changed the paths in clinet-perl and cgiirc.config, now I get a new error: > > [16:21] *** Welcome to CGI:IRC 0.5.4 (2004/01/29) > > [16:21] *** Looking up chat.biteme-irc.net > > [16:21] *** An error occured: Looking up address: Bad file number I guess your ISP is using a chroot environment, without knowing the system I can't really say why DNS lookups aren't working, it could be because they have restricted sockets (in which case you'll not get IRC connections working either) or there just might be some files missing (/etc/resolv.conf, maybe /etc/nsswitch.conf). You could always try just using an IP address to connect to so a DNS lookup isn't needed. |
|
From: Nighthawk <nig...@bi...> - 2004-02-23 03:01:09
|
Thanks David and Julien It now works using IP addresses for the servers - I'll contact the ISP to see if they can do something on the DNS config stuff - I kinow the box is running Sun SOlaris I guess your ISP is using a chroot environment, without knowing the system I can't really say why DNS lookups aren't working, it could be because they have restricted sockets (in which case you'll not get IRC connections working either) or there just might be some files missing (/etc/resolv.conf, maybe /etc/nsswitch.conf). You could always try just using an IP address to connect to so a DNS lookup isn't needed. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ cgiirc-general mailing list cgi...@li... https://lists.sourceforge.net/lists/listinfo/cgiirc-general |
|
From: Nighthawk <nig...@bi...> - 2004-02-22 18:22:27
|
OK I removed the -T from the first line and that error went away but unfortunately another appeared. Very strange this load fine on my last shell. The chat interface loads but then this error appears: [11:11] *** An error occured: Mkdir error: No such file or directory It appears to be from line 991 in nph-irc.cgi > Nighthawk wrote: > > Hi all > > > > Having a problem getting cgi:irc to run > > Had to uncomment the Begin line for directory change and now this error > > occurs: > > > > Insecure dependency in chdir while running with -T switch at > > /d4/d8/e-interactiv.net/cgi-bin/irc/nph-irc.cgi line 22. > > BEGIN failed--compilation aborted at > > /d4/d8/e-interactiv.net/cgi-bin/irc/nph-irc.cgi line 22. > > > > Any suggestions on how to get around this > > Remove the T from the first line of nph-irc.cgi. > |
|
From: Julien W. <fl...@mi...> - 2004-02-22 18:33:57
|
On Sun, 22 Feb 2004, Nighthawk wrote: > OK I removed the -T from the first line and that error went away but > unfortunately another appeared. Very strange this load fine on my last > shell. > > The chat interface loads but then this error appears: > [11:11] *** An error occured: Mkdir error: No such file or directory > > It appears to be from line 991 in nph-irc.cgi check if the parent directories for this mkdir exist at all. If not, create them :) -- Julien |
|
From: David L. <dg...@dg...> - 2004-02-22 18:45:56
|
Julien WAJSBERG wrote: > On Sun, 22 Feb 2004, Nighthawk wrote: > > > OK I removed the -T from the first line and that error went away but > > unfortunately another appeared. Very strange this load fine on my last > > shell. > > > > The chat interface loads but then this error appears: > > [11:11] *** An error occured: Mkdir error: No such file or directory > > > > It appears to be from line 991 in nph-irc.cgi > > check if the parent directories for this mkdir exist at all. If not, > create them :) Indeed, but it's /tmp so your system sounds a bit weird. Any directory that the web server can write to will do. To change socket_prefix though you will also need to change the path in client-perl.cgi. |
|
From: Nighthawk <nig...@bi...> - 2004-02-22 22:04:38
|
OK you guys will have to bear with me I know very little perl and this is an ISP hosted shell so the config is somewhat foreign The CGI:IRC is installed in /cgi-bin/irc the images in /html/images I have created a tmp dir under irc so /cgi-bin/irc/tmp and made it 777 I'm a little lost on the comment: "check if the parent directories for this mkdir exist at all. If not, create them" I'm not really sure what directories I should be looking for or making? Also when changing the path in client-perl.cgi what is the path syntax ie from the cgi executing or from the root Ie $PREFIX = "/tmp/cgiirc-"; or $PREFIX = "/cgi-bin/irc/tmp/cgiirc-"; Julien WAJSBERG wrote: > > check if the parent directories for this mkdir exist at all. If not, > create them :) Indeed, but it's /tmp so your system sounds a bit weird. Any directory that the web server can write to will do. To change socket_prefix though you will also need to change the path in client-perl.cgi. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ cgiirc-general mailing list cgi...@li... https://lists.sourceforge.net/lists/listinfo/cgiirc-general |