LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pptpconfig - php errors.. (https://www.linuxquestions.org/questions/linux-software-2/pptpconfig-php-errors-481894/)

Golzari-Ali 09-09-2006 11:37 AM

pptpconfig - php errors..
 
I wanna to have a vpn conncetion in a lan to access the internet(vpn server of my company is ke windows)
for this I read some paper,and so I going to install pptpconfig and its essential packages.
but when I run pptpconfig this error appear:
[root@linux Desktop]# pptpconfig

Warning: dl(): Unable to load dynamic library '/usr/lib/php-pcntl/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so' - libxml.so.1: cannot open shared object file: No such file or directory in /usr/bin/pptpconfig.php on line 31

Fatal error: Cannot instantiate non-existent class: gdkcolor in /usr/bin/pptpconfig.php on line 96

and I dont know whats the problem.
if my way to have a vpn connection is wrong please guide me.
my system is CentOS 4.3 and Iam in a LAN and our VPN server is windows.
thanks.

acid_kewpie 09-09-2006 12:29 PM

it states it can not find libxml.so.1 right? so install libxml and all should be fine.

note that this has nothing to do with networking at all, it's just an error in a program that is related to networking.

Electro 09-09-2006 06:31 PM

You may also try to install gtk module and any other require modules for the PHP script.

Golzari-Ali 09-10-2006 01:03 PM

vpn error
 
Quote:

Originally Posted by acid_kewpie
it states it can not find libxml.so.1 right? so install libxml and all should be fine.

note that this has nothing to do with networking at all, it's just an error in a program that is related to networking.

yes,I did it.
but do u have any suggestion for that I wanana have a vpn connection with user name and password via a LAN and connect to a windows vpn server.I have centOS 4.3 full.
I install pptpconfig and run it.but there is some error:
pptpconfig: debug information dump begins
WARNING: security sensitive information follows
pptpconfig 1.2 2004/06/19 08:57:15
# pppd --version
pppd: error while loading shared libraries: libpcap.so.0.6.2: cannot open shared object file: No such file or directory
# uname -a
Linux linux.rayaneh.com 2.6.17.11 #1 Fri Sep 8 17:35:26 IRDT 2006 i686 i686 i386 GNU/Linux
# grep mppe /proc/modules
# modinfo ppp_mppe
filename: /lib/modules/2.6.17.11/kernel/drivers/net/ppp_mppe.ko
author: Frank Cusack <fcusack@fcusack.com>
description: Point-to-Point Protocol Microsoft Point-to-Point Encryption support
license: Dual BSD/GPL
alias: ppp-compress-18
version: 1.0.2
vermagic: 2.6.17.11 mod_unload 686 REGPARM 4KSTACKS gcc-3.4
depends: ppp_generic
srcversion: 6B88E623CA7C4D7FE2F11FA
Array
(
[name] => golzari
[server] => 10.1.10.10
[domain] =>
[username] => golzari
[password] => (hidden by pptpconfig)
[pppd-options] => nopcomp noaccomp require-pap
[pptp-options] =>
[resolv] =>
[dns-options] =>
[routing] => routing_client_to_lan
[usepeerdns] => 1
[require-mppe] => 1
[nomppe-40] => 1
[nomppe-128] => 1
[refuse-eap] => 1
[mppe-stateful] => 1
[autostart] =>
[iconify] =>
[persist] =>
[debug] => 1
[client-to-lan] =>
)
# route -n (before pppd)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
pptpconfig: debug information dump ends, starting pppd
/usr/sbin/pppd: error while loading shared libraries: libpcap.so.0.6.2: cannot open shared object file: No such file or directory
# route -n (after pppd exit)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
pptpconfig: pppd process stopped by signal 0 (started)
ip route add 10.1.10.10 via 10.1.13.1 dev eth1 src 10.1.13.93
RTNETLINK answers: File exists

pptpconfig: command failed, exit code 2
pptpconfig: routes added to remote networks
pptpconfig: usepeerdns was set, but /{var/run,etc}/ppp/resolv.conf was not readable
pptpconfig: connected
# route -n (after completion)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.10.10 10.1.13.1 255.255.255.255 UGH 0 0 0 eth1
10.1.13.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.1.13.1 0.0.0.0 UG 0 0 0 eth1
-----------------
and I cant open any pages through mozilla.
?????????


All times are GMT -5. The time now is 04:04 AM.