PHP3 and PostgreSql
I am trying to run some php3 script on Postgresql and get the following error: Fatal error: Call to unsupported and undefined function pg_connect() in /html/trans/view.php3 on line 5. I have psql running and setup the srm.conf httpd.conf files. This is a first time I am using php3. I will extremely appreciate, if someone can help me to find out the problem. Abu Umair
PHP3 and Postgresql
I am still having problem running PHP3 with Postgresql. Though I load all the modules. Now, when I run php3 files, I get nothing except "server could be down or not responding. Any help will be appricaited. Thanks Abu Umair -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Official CD
I am trying to make Debian Official CD and followed all the instructions and successfully rsync the iso image. I also loaded boot.exe file and other files on the CD, but it does not boot up and by-pass the CD ROM. Is there any source where I can find the step by step instructions after successfull rsync,to load the boot programs on the CD. Any help will be extremely appreciated. Thanks. Vaqar Ahmed
Debian 2.2r2
I have installed Debian 2.2r2 and it is using bind 8-2.2p7-1. Is it any security hole in this Debian 2.2r2 and bind 8-2.2p7-1. Will appreciate any help. Thanks. Abu Umair
Virtual Hosts
I have installed Debian 2.2r2 and now trying to put more IP based virtual hosts. I have used the VirtualHost directives, and gave the IP number to each site. But when I tried to look on the Virtual host site, it brings the primary site. I will appreciate, if I get information about how to setup VirtualHost on 2.2r2. Abu Umair.
Re: Virtual Hosts
I have used the same configuration: ServerAdmin [EMAIL PROTECTED] DocumentRoot /groups/smallco/www ServerName www.smallco.com ErrorLog /groups/smallco/logs/error_log TransferLog /groups/smallco/logs/access_log But still it loads the primary site. - Original Message - From: Marcel Hicking <[EMAIL PROTECTED]> To: Sent: Tuesday, April 03, 2001 8:44 AM Subject: Re: Virtual Hosts > http://httpd.apache.org/docs/vhosts/index.html > esp. > http://httpd.apache.org/docs/vhosts/ip-based.html > > basically use something like > > ServerName www.abc.dom > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /www/abc > > > Cheers, Marcel > > Y2KNET <[EMAIL PROTECTED]> 3 Apr 2001, at 8:37: > > > I have installed Debian 2.2r2 and now trying to put > > more IP based virtual hosts. I have used > > the VirtualHost directives, and gave the IP number > > to each site. But when I tried to look on the Virtual host > > site, it brings the primary site. > > > > I will appreciate, if I get information about how to setup > > VirtualHost on 2.2r2. > > > > Abu Umair. > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
VirtualHosts
Thanks for everyone for suggestions. I have used Listen and VirtualHosts directives. Let me show you my dns files for two sites: First one is primary which is, say abc.net the second one is VirtualHost xyz.net. The dns files resides on server ns1.abc.net the first dns file is abc.hosts and following is its configuration: INNSns1.abc.net. INNSns2.abc.net. ns1INA192.55.34.3 ns2INA192.55.34.4 .. www.abc.net.INCNAMEns1.abc.net. The second file for virtual host is xzz.hosts and following is its configuration: INNSns1.abc.net. INNSns2.abc.net. xyz.netIN A192.55.34.5 .. www.xyz.net. IN CNAMExyz.net. In my /etc/apache all configuration files are set for my primary site www.abc.net. Then I used the following configuration for virtual host site www.xyz.net: Listen 192.55.34.5:80 NameVirtualHost 192.55.34.5:80 DocumentRoot /var/www/xyz ServerName www.xyz.net With this configurartion none of my site comes up. Can someone tell me where I am making mistake. Thanks. Abu Umair
Re: VirtualHosts
Yes! I made a typing mistake, instead of writing 192.55.34.5, I wrote the other address. I tried the following for www.xyz.net: Listen 192.55.34.5:80 NameVirtualHost 192.55.34.5:80 DocumentRoot /var/www/xyz SeverName xyz.net ServerAlais www.xyz.net ... But when I used Listen, then it did not biring anything even my primary site www.abc.com. If I turned of Listen then my primary site www.abc.com comes up. Looks I am wandering somewhere near the solution. In oldewr version I was using ifconfig in the network file in /etc/init.d on virtual ports like eth0:0, but in this version they are using iface, which I do not have much clue of it. Thanks. Abu Umair "Jeremy C. Reed" wrote: > On Tue, 3 Apr 2001, Y2KNET wrote: > > > First one is primary which is, say abc.net > > the second one is VirtualHost xyz.net. > > > ns1INA192.55.34.3 > > > www.abc.net.INCNAMEns1.abc.net. > > > xyz.netIN A192.55.34.5 > > .. > > www.xyz.net. IN CNAMExyz.net. > > Please consider using real host names. This is getting very confusing. > > > following configuration for virtual host site www.xyz.net: > > > > Listen 192.55.34.5:80 > > You do not need the "Listen" directive when you are using the > VirtualHost. > > > NameVirtualHost 192.55.34.5:80 > > > > > > Is this the correct IP? Try using the correct IP. > > The Apache documentation covers this. > > > DocumentRoot /var/www/xyz > > ServerName www.xyz.net > > Your examples above are different (www.xyx.net is not 192.241.171.5.) > > Jeremy C. Reed > ... > ISP-FAQ.com -- find answers to your questions > http://www.isp-faq.com/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Virtual Hosts
When I remotely or internally telnet www.xyz.net, it does not connect and give the error "unable to connect remote host: no route to host" but when I tried to connect www.abc.net it connected. It looks like it is not connetcting to www.xyz.net. I have the entry for zone xyz.net in named.conf file for xyz.net and a separate host file as xyz.hosts besides abc.net. When I do dig www.xyz.net then it right away answers all the queries. Looks, I am making some mistakes in dns files. But for dns file in xyz.host, I have the following entries: wwwIN A192.55.34.5 Any idea please! Abu Umair
Re: Virtual Hosts
Here is the real world. I have primary and secondry servers ns1 and ns2. The zone file on ns1 includes the following zones: zone "y2knet.net" { type master; file "y2knet.db"; }; zone "jennswing.com" { type master; file "jennswing.db"; }; y2knet.db includes: --- in nsns1.y2knet.net in nsns2.y2knet.net ns1inA208.241.171.3 ns2. inA208.241.171.230 wwwinA208.241.171.230 -- jennswing.db includes: - innsns1.y2knet.net innsns2.y2knet.net wwwin A208.241.171.8 - The apache is running on ns2 (208.241.171.230), which is secondary. The httpd.conf file in apache has: DocumentRoot/var/www/y2knet-site ServerName www.y2knet.net The vhosts in httpd.conf is: NameVirtualHost 208.241.171.8:80 DocumentRoot /var/www/jennswing-site SeverName www.jennswing.com If I use Listen 208.241.171.8:80 it does not bring any site. When I disable Listen then only y2knet site comes. Probably it would clear the confusion. Appreciate your support. Abu Umair "Jeremy C. Reed" wrote: > On Wed, 4 Apr 2001, Y2KNET wrote: > > Any idea please! > > This thread continues and continues ... > > Please give us the real hostnames. We may be able to see the problem from > outside. > > Make sure the DNS works before even starting with the Apache config. (If > not, you may cause more troubleshooting than you should need.) > > Jeremy C. Reed > ... > ISP-FAQ.com -- find answers to your questions > http://www.isp-faq.com/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Virtual Hosts
No, I have not and here it looks the problem, but in Debian 2.2r2 there is a networking file in /etc/init.d, instead of network file where ifconfig was added. I am trying to find where can I look these ifconfig files. I do not know how to add additiona IP address for ifconfig in 2.2r2. Abu Umair Tim Kent wrote: > Have you ifconfig'd the additional addresses you are going to use? > > Tim. > - Original Message - > From: "Y2KNET" <[EMAIL PROTECTED]> > To: > Sent: Thursday, April 05, 2001 1:40 PM > Subject: Virtual Hosts > > > When I remotely or internally telnet www.xyz.net, > > it does not connect and give the error > > "unable to connect remote host: no route to host" > > but when I tried to connect www.abc.net > > it connected. It looks like it is not connetcting > > to www.xyz.net. > > > > I have the entry for zone xyz.net in named.conf file for xyz.net > > and a separate host file as xyz.hosts besides abc.net. > > When I do dig www.xyz.net then it right away answers > > all the queries. > > > > Looks, I am making some mistakes in dns files. > > But for dns file in xyz.host, I have the > > following entries: > > > > wwwIN A192.55.34.5 > > > > Any idea please! > > > > Abu Umair > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hacked
Our server which is debian 2.2.r2 and running bind 8.2.3 has been hacked from this address 132.163.135.130
ifup
In the old Debian we linked the ip address to a virtual interface for the vhost like following: "ifconfig eth0:1 192.55.34.21 netmask 255.255.255.0 broadcast 192.55.34.21 route add -net 192.55.34.0 route add default gateway 192.55.34.0" I tried the same thing on 2.2r2 and got the following error: "SIOCSIFADDR: No such device ignoring unknown interface interfaces." It looks that it did not accept the virtual interface Then I tried to run it through ifup command got the same error. As I know my vhost problem is that the vhost is not finding the interface. Need Help and will extremely appreciate. Abu Umair
Daemon
After few days, I installed Debian 2.2.18, I saw strange deamons and looks some one hacked the kernel. Following are the daemons: root 1 0.0 0.2 1020 460 ?SApr19 0:10 init [2] root 2 0.0 0.0 0 0 ?SW Apr19 0:00 [kflushd] root 3 0.0 0.0 0 0 ?SW Apr19 0:00 [kupdate] root 4 0.0 0.0 0 0 ?SW Apr19 0:00 [kpiod] root 5 0.0 0.0 0 0 ?SW Apr19 0:00 [kswapd] root 6 0.0 0.0 0 0 ?SW Apr19 0:00 [i2oevtd] root 7 0.0 0.0 0 0 ?SW Apr19 0:00 [i2oblock] Have some one noticed kpiod, kswapd, i2oevtd, or i2oblock Are these valid daemons, I have never seen these before. Abu Umair
Re: Accounting Software
We are also using Peach Tree Complete Accounting and it is not user friendly plus it has many bugs. Has someone experienced the Microsoft products. Abu Umair - Original Message - From: Robert Brown <[EMAIL PROTECTED]> To: Sent: Wednesday, May 02, 2001 8:36 AM Subject: Accounting Software > What are other ISPs running for financial accounting software? We are running > Peach Tree 7.0 with a customer base of 3000 users. Printing invoices is now > over 30 hours. A call to Peach Tree informs us that our software is only made > for 1000 or less accounts but they will be glad to sell us their bigger product > for $2000. "Oh, but it won't import your old data." So, anyone have any > recommendations? Thanks. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Official CD
I am trying to make Debian Official CD and followed all the instructions and successfully rsync the iso image. I also loaded boot.exe file and other files on the CD, but it does not boot up and by-pass the CD ROM. Is there any source where I can find the step by step instructions after successfull rsync,to load the boot programs on the CD. Any help will be extremely appreciated. Thanks. Vaqar Ahmed
Debian 2.2r2
I have installed Debian 2.2r2 and it is using bind 8-2.2p7-1. Is it any security hole in this Debian 2.2r2 and bind 8-2.2p7-1. Will appreciate any help. Thanks. Abu Umair
Virtual Hosts
I have installed Debian 2.2r2 and now trying to put more IP based virtual hosts. I have used the VirtualHost directives, and gave the IP number to each site. But when I tried to look on the Virtual host site, it brings the primary site. I will appreciate, if I get information about how to setup VirtualHost on 2.2r2. Abu Umair.
Re: Virtual Hosts
I have used the same configuration: ServerAdmin [EMAIL PROTECTED] DocumentRoot /groups/smallco/www ServerName www.smallco.com ErrorLog /groups/smallco/logs/error_log TransferLog /groups/smallco/logs/access_log But still it loads the primary site. - Original Message - From: Marcel Hicking <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 03, 2001 8:44 AM Subject: Re: Virtual Hosts > http://httpd.apache.org/docs/vhosts/index.html > esp. > http://httpd.apache.org/docs/vhosts/ip-based.html > > basically use something like > > ServerName www.abc.dom > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /www/abc > > > Cheers, Marcel > > Y2KNET <[EMAIL PROTECTED]> 3 Apr 2001, at 8:37: > > > I have installed Debian 2.2r2 and now trying to put > > more IP based virtual hosts. I have used > > the VirtualHost directives, and gave the IP number > > to each site. But when I tried to look on the Virtual host > > site, it brings the primary site. > > > > I will appreciate, if I get information about how to setup > > VirtualHost on 2.2r2. > > > > Abu Umair. > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
VirtualHosts
Thanks for everyone for suggestions. I have used Listen and VirtualHosts directives. Let me show you my dns files for two sites: First one is primary which is, say abc.net the second one is VirtualHost xyz.net. The dns files resides on server ns1.abc.net the first dns file is abc.hosts and following is its configuration: INNSns1.abc.net. INNSns2.abc.net. ns1INA192.55.34.3 ns2INA192.55.34.4 .. www.abc.net.INCNAMEns1.abc.net. The second file for virtual host is xzz.hosts and following is its configuration: INNSns1.abc.net. INNSns2.abc.net. xyz.netIN A192.55.34.5 .. www.xyz.net. IN CNAMExyz.net. In my /etc/apache all configuration files are set for my primary site www.abc.net. Then I used the following configuration for virtual host site www.xyz.net: Listen 192.55.34.5:80 NameVirtualHost 192.55.34.5:80 DocumentRoot /var/www/xyz ServerName www.xyz.net With this configurartion none of my site comes up. Can someone tell me where I am making mistake. Thanks. Abu Umair -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: VirtualHosts
Yes! I made a typing mistake, instead of writing 192.55.34.5, I wrote the other address. I tried the following for www.xyz.net: Listen 192.55.34.5:80 NameVirtualHost 192.55.34.5:80 DocumentRoot /var/www/xyz SeverName xyz.net ServerAlais www.xyz.net ... But when I used Listen, then it did not biring anything even my primary site www.abc.com. If I turned of Listen then my primary site www.abc.com comes up. Looks I am wandering somewhere near the solution. In oldewr version I was using ifconfig in the network file in /etc/init.d on virtual ports like eth0:0, but in this version they are using iface, which I do not have much clue of it. Thanks. Abu Umair "Jeremy C. Reed" wrote: > On Tue, 3 Apr 2001, Y2KNET wrote: > > > First one is primary which is, say abc.net > > the second one is VirtualHost xyz.net. > > > ns1INA192.55.34.3 > > > www.abc.net.INCNAMEns1.abc.net. > > > xyz.netIN A192.55.34.5 > > .. > > www.xyz.net. IN CNAMExyz.net. > > Please consider using real host names. This is getting very confusing. > > > following configuration for virtual host site www.xyz.net: > > > > Listen 192.55.34.5:80 > > You do not need the "Listen" directive when you are using the > VirtualHost. > > > NameVirtualHost 192.55.34.5:80 > > > > > > Is this the correct IP? Try using the correct IP. > > The Apache documentation covers this. > > > DocumentRoot /var/www/xyz > > ServerName www.xyz.net > > Your examples above are different (www.xyx.net is not 192.241.171.5.) > > Jeremy C. Reed > ... > ISP-FAQ.com -- find answers to your questions > http://www.isp-faq.com/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Virtual Hosts
When I remotely or internally telnet www.xyz.net, it does not connect and give the error "unable to connect remote host: no route to host" but when I tried to connect www.abc.net it connected. It looks like it is not connetcting to www.xyz.net. I have the entry for zone xyz.net in named.conf file for xyz.net and a separate host file as xyz.hosts besides abc.net. When I do dig www.xyz.net then it right away answers all the queries. Looks, I am making some mistakes in dns files. But for dns file in xyz.host, I have the following entries: wwwIN A192.55.34.5 Any idea please! Abu Umair -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Virtual Hosts
Here is the real world. I have primary and secondry servers ns1 and ns2. The zone file on ns1 includes the following zones: zone "y2knet.net" { type master; file "y2knet.db"; }; zone "jennswing.com" { type master; file "jennswing.db"; }; y2knet.db includes: --- in nsns1.y2knet.net in nsns2.y2knet.net ns1inA208.241.171.3 ns2. inA208.241.171.230 wwwinA208.241.171.230 -- jennswing.db includes: - innsns1.y2knet.net innsns2.y2knet.net wwwin A208.241.171.8 - The apache is running on ns2 (208.241.171.230), which is secondary. The httpd.conf file in apache has: DocumentRoot/var/www/y2knet-site ServerName www.y2knet.net The vhosts in httpd.conf is: NameVirtualHost 208.241.171.8:80 DocumentRoot /var/www/jennswing-site SeverName www.jennswing.com If I use Listen 208.241.171.8:80 it does not bring any site. When I disable Listen then only y2knet site comes. Probably it would clear the confusion. Appreciate your support. Abu Umair "Jeremy C. Reed" wrote: > On Wed, 4 Apr 2001, Y2KNET wrote: > > Any idea please! > > This thread continues and continues ... > > Please give us the real hostnames. We may be able to see the problem from > outside. > > Make sure the DNS works before even starting with the Apache config. (If > not, you may cause more troubleshooting than you should need.) > > Jeremy C. Reed > ... > ISP-FAQ.com -- find answers to your questions > http://www.isp-faq.com/ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Virtual Hosts
No, I have not and here it looks the problem, but in Debian 2.2r2 there is a networking file in /etc/init.d, instead of network file where ifconfig was added. I am trying to find where can I look these ifconfig files. I do not know how to add additiona IP address for ifconfig in 2.2r2. Abu Umair Tim Kent wrote: > Have you ifconfig'd the additional addresses you are going to use? > > Tim. > - Original Message - > From: "Y2KNET" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 05, 2001 1:40 PM > Subject: Virtual Hosts > > > When I remotely or internally telnet www.xyz.net, > > it does not connect and give the error > > "unable to connect remote host: no route to host" > > but when I tried to connect www.abc.net > > it connected. It looks like it is not connetcting > > to www.xyz.net. > > > > I have the entry for zone xyz.net in named.conf file for xyz.net > > and a separate host file as xyz.hosts besides abc.net. > > When I do dig www.xyz.net then it right away answers > > all the queries. > > > > Looks, I am making some mistakes in dns files. > > But for dns file in xyz.host, I have the > > following entries: > > > > wwwIN A192.55.34.5 > > > > Any idea please! > > > > Abu Umair > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hacked
Our server which is debian 2.2.r2 and running bind 8.2.3 has been hacked from this address 132.163.135.130 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ifup
In the old Debian we linked the ip address to a virtual interface for the vhost like following: "ifconfig eth0:1 192.55.34.21 netmask 255.255.255.0 broadcast 192.55.34.21 route add -net 192.55.34.0 route add default gateway 192.55.34.0" I tried the same thing on 2.2r2 and got the following error: "SIOCSIFADDR: No such device ignoring unknown interface interfaces." It looks that it did not accept the virtual interface Then I tried to run it through ifup command got the same error. As I know my vhost problem is that the vhost is not finding the interface. Need Help and will extremely appreciate. Abu Umair -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Daemon
After few days, I installed Debian 2.2.18, I saw strange deamons and looks some one hacked the kernel. Following are the daemons: root 1 0.0 0.2 1020 460 ?SApr19 0:10 init [2] root 2 0.0 0.0 0 0 ?SW Apr19 0:00 [kflushd] root 3 0.0 0.0 0 0 ?SW Apr19 0:00 [kupdate] root 4 0.0 0.0 0 0 ?SW Apr19 0:00 [kpiod] root 5 0.0 0.0 0 0 ?SW Apr19 0:00 [kswapd] root 6 0.0 0.0 0 0 ?SW Apr19 0:00 [i2oevtd] root 7 0.0 0.0 0 0 ?SW Apr19 0:00 [i2oblock] Have some one noticed kpiod, kswapd, i2oevtd, or i2oblock Are these valid daemons, I have never seen these before. Abu Umair -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Accounting Software
We are also using Peach Tree Complete Accounting and it is not user friendly plus it has many bugs. Has someone experienced the Microsoft products. Abu Umair - Original Message - From: Robert Brown <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 8:36 AM Subject: Accounting Software > What are other ISPs running for financial accounting software? We are running > Peach Tree 7.0 with a customer base of 3000 users. Printing invoices is now > over 30 hours. A call to Peach Tree informs us that our software is only made > for 1000 or less accounts but they will be glad to sell us their bigger product > for $2000. "Oh, but it won't import your old data." So, anyone have any > recommendations? Thanks. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]