The requested URL /vicidial/admin.php was not found .

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

The requested URL /vicidial/admin.php was not found .

Postby ramonvel » Wed May 16, 2007 5:48 pm

After installing Vicidial I tried to browse to it's home page http;//serverip/vicidial/admin.php, but it says:
Not Found

The requested URL /vicidial/admin.php was not found on this server.
Apache/2.0.59 (Unix) PHP/4.4.4 Server at 10.1.1.7 Port 80

Now, "http://serverip" works and I can browse through the default installation of apache but no vicidial. On httpd.conf server root is " /usr/local/apache2/ " on the astguiclient.conf the PathWeb is /usr/local/apache2/ as well. I don't know what's going on.

At the begining astguiclient.conf was different. It had PathWeb /usr/local/apache2/htdocs/; and when I tried to browse through the page http://serverip/vicidial/admin.php it will give me error > "required dbconnect.php".

Then I tried changing the httpd.conf to match that of astguiclient.conf, but gave me errors loading up modules for php.

Please, I need help. How can I fix the current error "
The requested URL /vicidial/admin.php was not found on this server."

Thanks in advance
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby Op3r » Wed May 16, 2007 11:18 pm

did you run the install script?

please post the output of this

ls /var/www/html

and this ls /usr/local/apache2/
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby ramindia » Wed May 16, 2007 11:18 pm

Hi

when your document root of httpd server /usr/local/apache2/

then when you installting agc give this path /usr/local/apache2/
instead of /usr/local/apache2/htdocs ( this default installation)

make sure after end of installation, do you see any errors

check the dbconnect.php is available in that folder.


instead of confusing yourself, recomend to remove the all the folders and related files of agc and install in fresh and make sure your paths are correct.

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

The requested URL /vicidial/admin.php was not found

Postby ramonvel » Wed May 16, 2007 11:49 pm

Op3r The output for :

#ls -l /var/www/html/
total 0
#ls -l /usr/local/apache2/
agc astguiclient bin build cgi-bin conf error htdocs icons include lib logs man manual modules vicidial
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby ramonvel » Thu May 17, 2007 12:14 am

hi ramindia, this is the output for astguiclient :

# Paths used by astGUIclient
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /usr/local/apache2
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor

As you can see I did change the default PATHweb. It gives no error after installation. On the path /usr/local/apache2/htdocs, has admin.php and dbconnect.php. dbconnect.php is also found on /usr/local/apache2/agc/ .

However:
# ls -l /usr/local/apache2/astguiclient
# total 0
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby ramindia » Thu May 17, 2007 2:08 am

Hi

i think you have changed manually in conf file

but default what path you gave for installation

kindly post the output to suggest more
ls -al /usr/local/apache2
ls -al /usr/local/apache2/htdocs

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby ramonvel » Thu May 17, 2007 5:49 am

# ls -al /usr/local/apache2
drwxr-xr-x 18 root root 4096 May 17 00:38 .
drwxr-xr-x 42 root root 4096 Apr 30 10:59 ..
drwxrwxrwx 3 root root 4096 May 12 20:08 agc
drwxrwxrwx 2 root root 4096 May 12 20:08 astguiclient
drwxr-xr-x 2 root root 4096 Apr 26 10:05 bin
drwxr-xr-x 2 root root 4096 Apr 26 10:05 build
drwxr-xr-x 2 root root 4096 Apr 26 10:05 cgi-bin
drwxr-xr-x 2 root root 4096 May 15 22:05 conf
drwxr-xr-x 3 root root 4096 Apr 26 10:05 error
drwxr-xr-x 2 root root 4096 May 15 18:10 htdocs
drwxr-xr-x 3 root root 4096 Apr 26 10:05 icons
drwxr-xr-x 2 root root 4096 Apr 26 10:05 include
drwxr-xr-x 2 root root 4096 Apr 26 10:05 lib
drwxr-xr-x 2 root root 4096 May 16 11:25 logs
drwxr-xr-x 4 root root 4096 Apr 26 10:05 man
drwxr-xr-x 14 root root 12288 Apr 30 09:49 manual
drwxr-xr-x 2 root root 4096 Apr 29 22:56 modules
drwxrwxrwx 4 root root 4096 May 12 20:08 vicidial
AND
# ls -al /usr/local/apache2/htdocs/
drwxr-xr-x 2 root root 4096 May 15 18:10 .
drwxr-xr-x 18 root root 4096 May 17 00:38 ..
-rw-r--r-- 1 rvelazquez rvelazquez 2160 Nov 21 2004 apache_pb2_ani.gif
-rw-r--r-- 1 rvelazquez rvelazquez 2414 Nov 21 2004 apache_pb2.gif
-rw-r--r-- 1 rvelazquez rvelazquez 1463 Nov 21 2004 apache_pb2.png
-rw-r--r-- 1 rvelazquez rvelazquez 2326 Nov 21 2004 apache_pb.gif
-rw-r--r-- 1 rvelazquez rvelazquez 1385 Nov 21 2004 apache_pb.png
-rw-r--r-- 1 rvelazquez rvelazquez 1663 Nov 21 2004 index.html.ca
-rw-r--r-- 1 rvelazquez rvelazquez 1583 Nov 21 2004 index.html.cz.iso8859-2
-rw-r--r-- 1 rvelazquez rvelazquez 2202 Nov 21 2004 index.html.de
-rw-r--r-- 1 rvelazquez rvelazquez 1508 Nov 21 2004 index.html.dk
-rw-r--r-- 1 rvelazquez rvelazquez 1828 Nov 21 2004 index.html.ee
-rw-r--r-- 1 rvelazquez rvelazquez 1618 Nov 21 2004 index.html.el
-rw-r--r-- 1 rvelazquez rvelazquez 1456 May 15 18:10 index.html.en
-rw-r--r-- 1 rvelazquez rvelazquez 1735 Jun 26 2006 index.html.es
-rw-r--r-- 1 rvelazquez rvelazquez 1867 Nov 21 2004 index.html.et
-rw-r--r-- 1 rvelazquez rvelazquez 1505 Nov 21 2004 index.html.fr
-rw-r--r-- 1 rvelazquez rvelazquez 3704 Nov 21 2004 index.html.he.iso8859-8
-rw-r--r-- 1 rvelazquez rvelazquez 1604 Nov 21 2004 index.html.hr.iso8859-2
-rw-r--r-- 1 rvelazquez rvelazquez 1788 Nov 21 2004 index.html.it
-rw-r--r-- 1 rvelazquez rvelazquez 1630 Nov 21 2004 index.html.ja.iso2022-jp
-rw-r--r-- 1 rvelazquez rvelazquez 1543 Nov 21 2004 index.html.ko.euc-kr
-rw-r--r-- 1 rvelazquez rvelazquez 1837 Nov 21 2004 index.html.lb.utf8
-rw-r--r-- 1 rvelazquez rvelazquez 1968 Nov 21 2004 index.html.nl
-rw-r--r-- 1 rvelazquez rvelazquez 1534 Nov 21 2004 index.html.nn
-rw-r--r-- 1 rvelazquez rvelazquez 1467 Nov 21 2004 index.html.no
-rw-r--r-- 1 rvelazquez rvelazquez 1438 Nov 21 2004 index.html.po.iso8859-2
-rw-r--r-- 1 rvelazquez rvelazquez 1773 Nov 21 2004 index.html.pt
-rw-r--r-- 1 rvelazquez rvelazquez 2046 Nov 21 2004 index.html.pt-br
-rw-r--r-- 1 rvelazquez rvelazquez 1522 Nov 21 2004 index.html.ru.cp-1251
-rw-r--r-- 1 rvelazquez rvelazquez 1515 Nov 21 2004 index.html.ru.cp866
-rw-r--r-- 1 rvelazquez rvelazquez 1520 Nov 21 2004 index.html.ru.iso-ru
-rw-r--r-- 1 rvelazquez rvelazquez 1516 Nov 21 2004 index.html.ru.koi8-r
-rw-r--r-- 1 rvelazquez rvelazquez 2249 Nov 21 2004 index.html.ru.utf8
-rw-r--r-- 1 rvelazquez rvelazquez 1631 Nov 21 2004 index.html.sv
-rw-r--r-- 1 rvelazquez rvelazquez 2401 Nov 21 2004 index.html.var
-rw-r--r-- 1 rvelazquez rvelazquez 1018 Nov 21 2004 index.html.zh-cn.gb2312
-rw-r--r-- 1 rvelazquez rvelazquez 1032 Nov 21 2004 index.html.zh-tw.big5

Any other recommendation?
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami

Postby ramindia » Thu May 17, 2007 6:48 am

Hi

i belive your default root directory is
/usr/local/apache2/htdocs

so install agc on this directory and see, it should work

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby ramonvel » Thu May 17, 2007 7:24 am

Hi Ram,

Please, forgive my inaptitude, but I need to ask this question before I re-try to install astguiclient for the fifth time.

Should I install agc under PATHweb directory /usr/local/apache2/htdocs eventhough on httpd.conf shows ServerRoot "/usr/local/apache2/"? Which if I try to change to /usr/local/apache2/htdocs would say :
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/htdocs/modules/libphp4.so into server: /usr/local /apache2/htdocs/modules/libphp4.so: cannot open shared object file: No such file or directory.

Thanks again for your help
Ray
ramonvel
 
Posts: 59
Joined: Fri Apr 13, 2007 9:55 am
Location: Miami


Return to Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 40 guests