Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I'm running a apache/linux server than can execute:
http://207.239.245.224/cgibin/hello.cgi

but can not execute:
http://207.239.245.224/cgi-bin/cpanel.cgi?action=variables

I get an error in my /httpd/logs/error_log saying:
no such file or directory

I am sure that it does exist. hello.cgi works.

site is http://207.239.245.224/ubb/cp.html

file lists and permissions are:

starting with /var/www/html/

total 40
-rw-r--r-- 1 root root 8374 Oct 16 10:51 anlgform.html
drwxr-xr-x 3 scottie scottie 1024 Jan 17 15:05 cgi-bin
drwxr-xr-x 2 root root 1024 Jan 11 17:01 images
-rw-r--r-- 1 scottie scottie 2898 Nov 28 19:51 index.html
-rw-r--r-- 1 scottie scottie 20 Nov 10 15:38 info.php
drwxrwxr-x 2 scottie scottie 1024 Jan 8 10:39 maps
-rw-r--r-- 1 root root 19921 Jan 15 13:13 outfile.html
drwxr-xr-x 5 scottie scottie 1024 Oct 15 14:20 stats
drwxrwxr-x 2 scottie scottie 1024 Jan 12 10:35 test
drwxrwxrwx 2 scottie scottie 1024 Jan 16 23:10 ubb

total 235
-rwxr-xr-x 1 scottie scottie 2891 Jan 16 23:09 Date.pl
drwxrwxrwx 2 scottie scottie 1024 Jan 16 23:09 Members
-rwxrwxrwx 1 scottie scottie 603 Jan 16 23:09 Styles.file
-rwxrwxrwx 1 scottie scottie 2591 Jan 16 23:09 UltBB.setup
-rwxr-xr-x 1 scottie scottie 24438 Jan 16 23:09 Ultimate.cgi
-rwxr-xr-x 1 scottie scottie 16951 Jan 16 23:09 cpanel.cgi
-rwxr-xr-x 1 scottie scottie 56106 Jan 16 23:09 cpanel2.cgi
-rwxr-xr-x 1 scottie scottie 13895 Jan 16 23:09 cpanel3.cgi
-rwxr-xr-x 1 scottie scottie 10886 Jan 16 23:09 forumdisplay.cgi
-rwxrwxrwx 1 scottie scottie 558 Jan 16 23:09 forums.cgi
-rwxr-xr-x 1 scottie scottie 222 Jan 17 14:47 hello.cgi
-rwxr-xr-x 1 scottie scottie 222 Jan 17 15:05 hello.pl
-rwxrwxrwx 1 scottie scottie 220 Jan 16 23:09 mods.file
-rwxr-xr-x 1 scottie scottie 27314 Jan 16 23:09 postings.cgi
-rwxr-xr-x 1 scottie scottie 28204 Jan 16 23:09 ubb_library.pl
-rwxr-xr-x 1 scottie scottie 16382 Jan 16 23:09 ubb_library2.pl
-rwxr-xr-x 1 scottie scottie 22914 Jan 16 23:09 ubbmisc.cgi

total 1
-rwxrwxrwx 1 scottie scottie 78 Jan 16 23:09 Admin5.cgi
-rwxrwxrwx 1 scottie scottie 0 Jan 16 23:09 index.html

total 79
-rw-rw-r-- 1 scottie scottie 953 Jan 16 23:10 announce.gif
-rw-rw-r-- 1 scottie scottie 11301 Jan 16 23:10 bbtitle.gif
-rw-rw-r-- 1 scottie scottie 9761 Jan 16 23:10 bbtitle5.jpg
-rw-rw-r-- 1 scottie scottie 82 Jan 16 23:10 closed.gif
-rw-rw-r-- 1 scottie scottie 3958 Jan 16 23:10 controlpanel.html
-rw-rw-r-- 1 scottie scottie 749 Jan 16 23:10 cp.html
-rw-rw-r-- 1 scottie scottie 1918 Jan 17 15:00 cplinks.html
-rw-rw-r-- 1 scottie scottie 88 Jan 16 23:10 down.gif
-rw-rw-r-- 1 scottie scottie 119 Jan 16 23:10 email.gif
-rw-rw-r-- 1 scottie scottie 2899 Jan 16 23:10 faq.html
-rw-rw-r-- 1 scottie scottie 3455 Jan 16 23:10 forumterms.html
-rw-rw-r-- 1 scottie scottie 0 Jan 16 23:10 index.html
-rw-rw-r-- 1 scottie scottie 1595 Jan 16 23:10 infopoplogo.gif
-rw-rw-r-- 1 scottie scottie 96 Jan 16 23:10 mailto.gif
-rw-rw-r-- 1 scottie scottie 927 Jan 16 23:10 off.gif
-rw-rw-r-- 1 scottie scottie 997 Jan 16 23:10 on.gif
-rw-rw-r-- 1 scottie scottie 86 Jan 16 23:10 open.gif
-rw-rw-r-- 1 scottie scottie 79 Jan 16 23:10 posticon.gif
-rw-rw-r-- 1 scottie scottie 79 Jan 16 23:10 posticonnew.gif
-rw-rw-r-- 1 scottie scottie 1502 Jan 16 23:10 postreply.jpg
-rw-rw-r-- 1 scottie scottie 1817 Jan 16 23:10 posttopic.jpg
-rw-rw-r-- 1 scottie scottie 110 Jan 16 23:10 profile.gif
-rw-rw-r-- 1 scottie scottie 4554 Jan 16 23:10 quickstart.html
-rw-rw-r-- 1 scottie scottie 2233 Jan 16 23:10 reply5.jpg
-rw-rw-r-- 1 scottie scottie 68 Jan 16 23:10 tline.gif
-rw-rw-r-- 1 scottie scottie 79 Jan 16 23:10 tline3.gif
-rw-rw-r-- 1 scottie scottie 1993 Jan 16 23:10 topic5.jpg
-rw-rw-r-- 1 scottie scottie 2565 Jan 16 23:10 u2.jpg
-rw-rw-r-- 1 scottie scottie 3217 Jan 16 23:10 ubb_logo.gif
-rw-rw-r-- 1 scottie scottie 4722 Jan 16 23:10 ubbcode.html
-rw-rw-r-- 1 scottie scottie 1406 Jan 16 23:10 ubbfavicon.ico

Thanks a bunch. It does seem like I have a simlar problem to lots of posts on this site but I just can't seem to figure it out. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
I get an 'internal server error' on the UBB cgi scripts. Look at this page for tips. (Your link to hello.cgi should have cgi-bin, not cgibin)

------------------
Harold Kost
User only - no other connection to Infopop

"No problem is so large or so complex that it can't be run away from."

[This message has been edited by Hal (edited 01-17-2001).]

Anonymous
Unregistered
Anonymous
Unregistered
Quote
<font face="Verdana, Arial, Helvetica" size="2">I get an error in my /httpd/logs/error_log saying: no such file or directory</font>
This error indicates that the path to perl listed at the top of the .cgi/.pl file is incorrect. Please refer to your web host's documentation for the proper path to perl...

------------------
Charles Capps, Moderator, Post-Install Troubleshooting
PLEASE NOTE: Due to time limitations, I do not provide UBB support via email.

Anonymous
Unregistered
Anonymous
Unregistered
both my hello.cgi and cpanel.cgi have paths to /usr/bin/perl. My hello.cgi had the same error in the error_log that I now only get with cpanel.cgi (and others), ie, "no such file or directory" when the path was wrong (ie /usr/local/bin/perl. I can run the cpanel.cgi with the -w switch and it runs. It only complains about some itialized strings.

I don't know why hello runs but the others dont.

Anonymous
Unregistered
Anonymous
Unregistered
The error can also come up when the files haven't been uploaded in ascii. Which FTP client are you using to upload? If CuteFTP, switch to WS_FTP as many people are having problems using CuteFTP for ascii upload.

------------------
mjrand, Moderator: UBB Installation - UNIX

Anonymous
Unregistered
Anonymous
Unregistered
i ftped the zip file over to a temp dir and unpacked it on the linux machine during a telnet session. Then just copied the files to where they needed to go and chmod'ed as needed (all during telnet sessions). I am using apache ver 1.3.14. I am starting to think that the problem lies somewhere in my setup of the webserver. Is there any other cgi script functions that I can try to help figure out what cgi function isn't working. Hello world seems to work fine.

Anonymous
Unregistered
Anonymous
Unregistered
When unzipping directly on the server you need to use the -a switch.

------------------
mjrand, Moderator: UBB Installation - UNIX


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 1:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
Who's Online Now
1 members (BellaOnline), 503 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)