Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Apache CGI IRC mdkri permission denied

  1. #21
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,503
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Apache CGI IRC mdkri permission denied

    markeee; Well,

    Let's see what we can find. What returns from:
    Code:
    ps aux | grep "cgiirc*"
    And just to cover a base. What server is "http" connecting to ? Can you ping that server/port ? This just to make sure the problem is in your house, and not elsewhere. (can not get that off my mind )

    If we can answer what and why, we can know where .

    'tis a puzzle indeed
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  2. #22
    Join Date
    Jul 2007
    Beans
    141

    Re: Apache CGI IRC mdkri permission denied

    hey
    sorry for the delay
    the server is at 94.193.78/219 and working fine..i can access it http://94.193.78.219 sitting in my room


    root@dimension:~# ps aux | grep cgiirc
    root 6686 0.0 0.0 4704 796 pts/0 S+ 18:45 0:00 grep --color=auto cgiirc
    root@dimension:~#


    i didnt think that would show anything - as theres no prpcess running as its a cgi script just sitting in a dir in the apache htdocs dir

  3. #23
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,503
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Apache CGI IRC mdkri permission denied

    markeee; Welp,

    Mind you I am struggling also to understand what is going on.
    Can you start "irc.cgi" Manually ? Maybe add some echo statements in the scripts and see how it progresses ?
    -rwxrwxrwx 1 apache proxy 7979 Dec 7 06:45 irc.cgi
    What has to be running in order to start "irc.cgi" ?

    presently ->

    I am like unto a fish out of the water
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  4. #24
    Join Date
    Jul 2007
    Beans
    141

    Re: Apache CGI IRC mdkri permission denied

    apache - it runs from the web browser sitting on the apache webserver

    root@dimension:/usr/local/apache/htdocs/testing# ls -la
    total 196
    drwxr-xr-x 7 apache nogroup 4096 Sep 24 10:27 .
    drwxr-xr-x 95 root root 69632 Feb 9 01:26 ..
    -rwxrwxrwx 1 apache nogroup 1105 Sep 24 10:27 cgiirc.config
    -rwxrwxrwx 1 apache nogroup 9285 Sep 24 10:27 cgiirc.config.full
    -rwxrwxrwx 1 apache nogroup 5222 Sep 24 10:27 client.c
    -rwxrwxrwx 1 apache nogroup 2239 Sep 24 10:27 client-perl.cgi
    drwxrwxrwx 2 apache nogroup 4096 Sep 24 10:27 docs
    drwxrwxrwx 2 apache nogroup 4096 Sep 24 10:27 formats
    -rw-r--r-- 1 apache nogroup 22 Sep 24 10:27 .gitattributes
    -rw-r--r-- 1 apache nogroup 29 Sep 24 10:27 .gitignore
    -rw-r--r-- 1 apache nogroup 105 Sep 24 10:27 .htaccess
    drwxrwxrwx 3 apache nogroup 4096 Sep 24 10:27 images
    drwxrwxrwx 3 apache nogroup 4096 Sep 29 22:36 interfaces
    -rwxrwxrwx 1 apache nogroup 1637 Sep 24 10:27 ipaccess.example
    -rwxrwxrwx 1 apache nogroup 7979 Sep 24 10:27 irc.cgi
    drwxrwxrwx 3 apache nogroup 4096 Sep 24 10:27 modules
    -rwxrwxrwx 1 apache nogroup 42055 Sep 24 10:27 nph-irc.cgi
    -rwxrwxrwx 1 apache nogroup 1797 Sep 24 10:27 README
    root@dimension:/usr/local/apache/htdocs/testing#


    http://94.193.78.219/cgiirc.config

    thats the config file

  5. #25
    Join Date
    Jul 2007
    Beans
    141

    Re: Apache CGI IRC mdkri permission denied

    theres those 3 errors
    [Sat Feb 8 21:46:24 2014] CGI:IRC Error: Mkdir error: Permission denied (main::load_socket 1252)
    [Sat Feb 08 21:53:56.012874 2014] [access_compat:error] [pid 10231:tid 2954840896]
    [client 81.94.213.24:50862] AH01797: client denied by server configuration: /usr/local/apache/htdocs/testing/modules/


    [Sat Feb 08 21:53:56.012960 2014] [access_compat:error] [pid 10231:tid 2954840896]
    [client 81.94.213.24:50862] AH01797: client denied by server configuration: /usr/local/apache/htdocs/testing/cgiirc.config

    [Sat Feb 08 21:53:56.013522 2014] [authz_core:error] [pid 10231:tid 2954840896] [client 81.94.213.24:50862] AH01630:
    client denied by server configuration: /usr/local/apache/htdocs/testing/.htaccess
    Last edited by markeee; 2 Days Ago at 09:00 PM.

    but bit stuck really

  6. #26
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,503
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Apache CGI IRC mdkri permission denied

    markeee; Hey ,

    I ask ya again, are you sure that your distant end server still maintains support for IRC ?
    default_server = irc.blitzed.org
    Due to the recent DDoS attack, may servers have dropped out of rotation, in order to serve their paying customers.

    The server is valid, but does it support IRC ?
    sysop@1310mini:~$ ping -c 3 irc.blitzed.org
    PING na.iso.blitzed.org (173.255.213.121) 56(84) bytes of data.
    64 bytes from stagsleap.strtok.net (173.255.213.121): icmp_seq=1 ttl=53 time=100 ms
    64 bytes from stagsleap.strtok.net (173.255.213.121): icmp_seq=2 ttl=53 time=99.0 ms
    64 bytes from stagsleap.strtok.net (173.255.213.121): icmp_seq=3 ttl=53 time=95.8 ms

    --- na.iso.blitzed.org ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2003ms
    rtt min/avg/max/mdev = 95.802/98.304/100.032/1.811 ms
    sysop@1310mini:~$
    I stand in need of education as to how to verify that connection.

    EDIT: Will pay us to look at this script:
    script_login = irc.cgi
    it is a process,
    one step at a time
    Last edited by Bashing-om; February 11th, 2014 at 11:15 PM. Reason: additional info
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  7. #27
    Join Date
    Jul 2007
    Beans
    141

    Re: Apache CGI IRC mdkri permission denied

    ok so il open irc.cgi in nano and look for where it triues to make a dir i guess?

  8. #28
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,503
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Apache CGI IRC mdkri permission denied

    markeee; Hi !

    Yeah, That is what I think. A script somewhere is attempting to "mkdir" somewhere for some reason. That point needs to be identified before any action can be taken.

    read any scripts lately for
    entertainment
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  9. #29
    Join Date
    Jul 2007
    Beans
    141

    Re: Apache CGI IRC mdkri permission denied

    root@dimension:/usr/local/apache/htdocs/testing# cat nph-irc.cgi | grep mkdir
    mkdir($config->{socket_prefix}.$cgi->{R}, 0700) or error("Mkdir error: $!");
    root@dimension:/usr/local/apache/htdocs/testing#


    looks like this could be it

    need to figure outbwhat the vars translate to

  10. #30
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    7,503
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Apache CGI IRC mdkri permission denied

    markeee; Yeah !

    That do look likely !
    Sorry, but will take one of the server smart guys (and gals) to lend ya a further hand. That is now about 2 steps above my level of comprehension. (sockets)

    But you can bet I will keep up on this thread.

    a know it all
    am NOT
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •