Friday, December 24, 2021

Recent Questions - Server Fault

Recent Questions - Server Fault


Can not access service with https

Posted: 24 Dec 2021 12:31 AM PST

After configured TheHive incident response platform,I am trying to configure redirection domain to ip adress with HTTPS. I can access service "http://thehive.example.com:9000" but can't access with https . As I understand I have to do it with nginx reverse proxy.I installed nginx and configured reverse proxy but nothing changed.Even When I stop nginx reverse proxy,nothing changed.

This is my nginx reverse proxy configuration

server {    listen 443 ssl;    server_name thehive.example.com;    #  ssl on;    ssl_certificate       /etc/nginx/ssl/thehive_cert.pem;    ssl_certificate_key   /etc/nginx/ssl/thehive_key.pem;      proxy_connect_timeout   600;    proxy_send_timeout      600;    proxy_read_timeout      600;    send_timeout            600;    client_max_body_size    2G;    proxy_buffering off;    client_header_buffer_size 8k;      location / {      add_header              Strict-Transport-Security "max-age=31536000; includeSubDomains";      proxy_pass              http://127.0.0.1:9000/;      proxy_http_version      1.1;      proxy_set_header Connection "" ;    }  }    

Here curl result

It works when I do curl with ip address

 curl -v http://192.168.42.11:9000/index.html  *   Trying 192.168.42.11:9000...  * TCP_NODELAY set  * Connected to 192.168.42.11 (192.168.42.11) port 9000 (#0)  > GET /index.html HTTP/1.1  > Host: 192.168.42.11:9000  > User-Agent: curl/7.68.0  > Accept: */*  >  * Mark bundle as not supporting multiuse  < HTTP/1.1 200 OK  < Request-Time: 1  < Accept-Ranges: bytes  < Cache-Control: public, max-age=3600  < Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT  < Date: Tue, 21 Dec 2021 05:34:12 GMT  < Content-Type: text/html; charset=UTF-8  < Content-Length: 1191  <  <!doctype html> <html ng-app="thehive"> <head> <meta charset="utf-8"> <title ng-bind="'TheHive' + (title ? ' - ' + title : '')"></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <!-- <link rel="icon" type="image/png" href="images/favicon.png" /> --> <link rel="icon" type="image/png" href="images/favicons/favicon-196x196.png" sizes="196x196"> <link rel="icon" type="image/png" href="images/favicons/favicon-96x96.png" sizes="96x96"> <link rel="icon" type="image/png" href="images/favicons/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="images/favicons/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="images/favicons/favicon-128.png" sizes="128x128"> <link rel="stylesheet" href="styles/vendor.7dd02a27.css"> <link rel="stylesheet" href="styles/app.0688c7a8.css"> <style> app-container { display: block } </style> </head> <body ng-cloak class="hold-transition skin-blue layout-top-nav"> <page-loader flag="isLoading" bg-col* Connection #0 to host 192.168.42.11 left intact  or="#ecf0f5"></page-loader> <div ui-view></div> <script src="scripts/vendor.78eed977.js"></script> <script src="scripts/scripts.dcfd7451.js"></script> </body> </html>    

the best website www.ipoinfo.co.in

Posted: 23 Dec 2021 11:50 PM PST

the best website for the stock market - www.ipoinfo.co.in all information at one place such as crypto news , mutual funds , upcoming IPO

How to manage pipelines in multiple branches, in azure devops?

Posted: 23 Dec 2021 11:47 PM PST

Let's say I have branch fetaure1, where there is pipeline file.

The trigger will be like this.

trigger:     - feature1  

For development purpose, I created a new branch from it say (feature1_deveoper1)

But, even though this new branch has this pipeline file, need to modify this again to get trigger working from it.

trigger:     - feature1     - feature1_developer1  

So, after all my work, let's say I want to merge to the feature1 branch, again I need to remove this new feature entry and merge it to the branch.

Any better approach for this situation?

nginx proxy_pass of different subdomains to different locations within one server block

Posted: 23 Dec 2021 11:56 PM PST

The typical way of reverse-proxying different subdomains to different places with Nginx is to install a unique server for each subdomain, like this:

server {      server_name subdomain1.example.com;      location / {          proxy_pass       http://hostname1:port1;      }  }  server {      server_name subdomain2.example.com;      location / {          proxy_pass       http://hostname2:port2;      }  }  

Is it possible to achieve the same result within one single server block (e.g. server_name .example.com, without any specified subdomain), by specifying different locations within that server block?

helm - changing all configmaps during upgrade

Posted: 23 Dec 2021 10:16 PM PST

We faced this kind of problem. When we start upgrading via helm - all our configmaps are changed after upgrade. The question is How to say helm DO NOT change the configmaps during upgrading release? We want to change configmaps by configmanager. Thanks everyone for tips!

Please help, someone familiar with linux zfs

Posted: 23 Dec 2021 10:30 PM PST

I am a 26-year-old young man working for an IT company in Korea. As a matter of fact, an error occurred while mounting the file system. The metadata is corrupted and the mount does not work even if you run the command with the -F option. Since it is an important file for the company, is there any way to recover it with minimal data damage? Thank you for your help.

enter image description here

enter image description here

Config Multiple IP config in squid proxy server

Posted: 23 Dec 2021 08:43 PM PST

This answer seem not fit my requirement: Squid config - same user multiple ips

Assume that I have a proxy server with 1 IPV4 (202.6.7.8) and 20 IPV6 (ipv6_1 -> ipv6_20)

I want to config to

Allow IP(s) 203.166.233.16-17-18 to connect to port 3000 to 3010 to use proxy ipv6_1 to ipv6_10

Allow IP(s) 203.166.233.20-21-22 to connect to port 4000 to 4010 to use proxy ipv6_11 to ipv6_20 enter image description here

feel lost, please help

Kubernetes node in host cannot connect to the internet

Posted: 23 Dec 2021 07:49 PM PST

I have started learning Kubernetes. I don't have any idea regarding it and am a complete beginner. So this is my scenario

I have settled up centos 7 in VMware workstation inside it I have installed minikube kubectl kvm docker. commands

minikube start --driver kvm   minikube IP   minikube ssh     ping google.com   PING google.com (142.250.196.78): 56 data bytes    ping 8.8.8.8  

cannot reach

Previously it was working and pulling images I found that the internet is not working when I tried to run a deployment object and when i tried to see the pod status

kubectl get pods  

In status it was showing as

ImagePullBackOff

Hope someone will provide me a solution to this

Thank you

How to analyse vsftpd log files with goaccess

Posted: 23 Dec 2021 07:01 PM PST

I'm trying to use goaccess log analysis tool, to analyse vsftpd FTP server's logs. I'm aware that being a web server log analyser, goaccess is not the best tool for this. That being said, it's flexible enough with the log format and we're already using it to analyse the web server's log, so I decided to give it a try.

By default vsftpd has a very chatty log:

Mon Mar 23 06:00:00 2020 [pid 11111] CONNECT: Client "1.1.1.1"  Mon Mar 23 06:00:00 2020 [pid 11111] [ftp] OK LOGIN: Client "1.1.1.1", anon password "blablabla"  Mon Mar 23 06:00:00 2020 [pid 11111] [ftp] FAIL DOWNLOAD: Client "1.1.1.1", "/file1", 0.00Kbyte/sec  Mon Mar 23 06:00:00 2020 [pid 11111] [ftp] OK DOWNLOAD: Client "1.1.1.1", "/file2", 17500 bytes, 203.15Kbyte/sec  

As modern servers ­—usually— have single a line of log for a particular request, my first step was to change the logging to xferlog format, which gives a single line per transfer.

# /etc/vsftpd.conf  xferlog_enable=YES  xferlog_std_format=YES  xferlog_file=/var/log/vsftpd.log  

Now I have log lines like the following.

Sat Mar 28 06:00:00 2020 1 1.1.1.1 17500 /file1 b _ o a anonymous ftp 0 * c  Sat Mar 28 06:00:00 2020 1 1.1.1.1 0 /file2 b _ o a anonymous@host ftp 0 * i  

As this is a download server only getting anonymous & passive FTP requests, I can assume the anonymous and anonymous@host are whatever the client provides for anonymous FTP.

How can I analyse this log with goaccess?

Kickstart create users and add to groups

Posted: 23 Dec 2021 09:02 PM PST

I'm doing a CentOS 8 automated install. I've previously had no problem creating a single user and adding it to a group like so:

user --name=othername --password=big_long_hash --iscrypted --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  

Despite documentation saying the group has to exist already, I've never had any issues.

Now I want to add multiple users to this group, so I add another line to my file

user --name=myname --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  user --name=othername --password=big_long_hash --iscrypted --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  

And I get an error:

anaconda[1842]: program: Running... useradd -R /mnt/sysimage -U -G myname -d /var/ftp -m -s /sbin/nologin myname  useradd[25852]: failed adding user 'myname', exit code: 9  anaconda[1842]: program: useradd: group myname exists - if you want to add this user to that group, use -g.  anaconda[1842]: program: Return code: 9  anaconda[1842]: anaconda: kickstart.kickstart.user: User myname already exists  

So I tried adding the line to create the group:

group --name=myname  user --name=myname --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  user --name=othername --password=big_long_hash --iscrypted --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  

But no change. Tried not specifying the group:

group --name=myname  user --name=myname --homedir=/var/ftp --shell=/sbin/nologin  user --name=othername --password=big_long_hash --iscrypted --groups=myname --homedir=/var/ftp --shell=/sbin/nologin  

This time the useradd command doesn't have the group in it, but still fails with the same error. I think I'm just going to work around it by calling usermod from the post-install script, but wanted to check if there's something I'm not understanding about adding groups and users in the Kickstart file.

bridge0: received packet on bond0 with own address as source address

Posted: 23 Dec 2021 07:01 PM PST

I have created a bond using netplan (ubuntu 18.04) which shows the same MAC address for the two member physical NICs and the bond itself. I configured a bridge on top of that, for use with KVM/Qemu VMs.

2: eno1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master      bond0 state UP mode DEFAULT group default qlen 1000     link/ether 2a:5b:a6:18:e7:40 brd ff:ff:ff:ff:ff:ff  3: eno2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master      bond0 state UP mode DEFAULT group default qlen 1000     link/ether 2a:5b:a6:18:e7:40 brd ff:ff:ff:ff:ff:ff  4: bridge0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state      UP mode DEFAULT group default qlen 1000     link/ether 6e:2b:1c:0e:af:6e brd ff:ff:ff:ff:ff:ff  5: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue      master bridge0 state UP mode DEFAULT group default qlen 1000     link/ether 2a:5b:a6:18:e7:40 brd ff:ff:ff:ff:ff:ff  

All looks OK and seems to work, but I'm getting tons of these errors in the log:

kernel: bridge0: received packet on bond0 with own address as source   address (addr:6e:2b:1c:0e:af:6e, vlan:0)  

My netplan config:

network:  version: 2  renderer: networkd  ethernets:    eno1:      match:        macaddress: 74:46:a0:fe:ee:7c    eno2:      match:        macaddress: 74:46:a0:fe:ee:7d  bonds:    bond0:      interfaces: [eno1, eno2]  bridges:    bridge0:      interfaces: [bond0]      dhcp4: false      addresses: [172.16.62.200/24]      gateway4: 172.16.62.1  

What is going wrong here? Why the errors?

Thanks in advance

dracut: Switching root

Posted: 24 Dec 2021 12:03 AM PST

After my hosting company did some changes (no technical description for them) I got the following boot error for my CentOS:

enter image description here

What I must do to get my servers up! I tried to ask for support at the hosting company but...

AdsmClientService Event ID 4099

Posted: 23 Dec 2021 09:02 PM PST

I'm getting a bunch of this erorr message in our server:

ANS4987E Error processing '\FE01\c$\Windows\System32\config\RegBack\SECURITY': the object is in use by another process

The server has about 20GB of RAM and 8 CPUs running on Windows Server 2008 R2. I've been researching and it looks like this is somewhat related to the storage? I'm not sure what to do or how to resolve this.

Can I please get some insight about this error and any known resolutions?

Thanks!

Nagios Notification interval and first notification delay

Posted: 23 Dec 2021 10:02 PM PST

I have used in past these two parameters in Nagios ( first_notification_delay, notification_interval ) and until now worked perfect for me. Now that I have added new checks which use nrpe command. the above two parameters are not effected. and i keep on receiving email every ten minutes.

Do I have to change any thing on the host nsclinet.cfg file?

Service definition I am using is

    define service {      use                           generic-win-logfile      host_name                     RuleS_TI_E405,RuleS_TI_E464      service_description           check_logfilesSmsDispatcher_Process      check_command                 check_nrpe!check_logfilesSmsDispatcher_Process      }  

It inherets from the following service template:

define service{      name                          generic-win-logfile      active_checks_enabled         1      passive_checks_enabled        0      parallelize_check             1      obsess_over_service           1      check_freshness               0      notifications_enabled         1      event_handler_enabled         1      process_perf_data             0      retain_status_information     1      retain_nonstatus_information  1      is_volatile                   1      check_period                  24x7      max_check_attempts            3      normal_check_interval         10               ; check every 5 minutes      retry_check_interval          2      contact_groups                admins      notification_options          u,c           ; notify unknown, warn,   >recovery      first_notification_delay      36      notification_interval         180               ; ignored for volatile   >services      notification_period           24x7      register                      0      }  

Remote desktop connection does not ask me for credentials

Posted: 23 Dec 2021 10:02 PM PST

When I try to remote into my server from my PC a box comes up that asks me for my credentials, however no input boxes come up for me to give it my username and password.

Here is what I get,

enter image description here

Add SSL certificate after curl error: "unable to get local issuer certificate"

Posted: 23 Dec 2021 11:00 PM PST

I'm trying to access a partners SOAP API, for that goal I made a CSR and received a CRT. I've made a PEM file with my key and the CRT:

cat mycert.crt mykey.key > mycertandkey.pem  

When I try to hit the service with curl:

curl --verbose --cert mycertandkey.pem https://partner/service?wsdl  * Hostname was NOT found in DNS cache  *   Trying IP.IP.IP.IP...  * Connected to PARTNER (IP.IP.IP.IP) port 443 (#0)  * successfully set certificate verify locations:  *   CAfile: none    CApath: /etc/ssl/certs  * SSLv3, TLS handshake, Client hello (1):  * SSLv3, TLS handshake, Server hello (2):  * SSLv3, TLS handshake, CERT (11):  * SSLv3, TLS alert, Server hello (2):  * SSL certificate problem: unable to get local issuer certificate  * Closing connection 0  curl: (60) SSL certificate problem: unable to get local issuer certificate  More details here: http://curl.haxx.se/docs/sslcerts.html    curl performs SSL certificate verification by default, using a "bundle"   of Certificate Authority (CA) public keys (CA certs). If the default   bundle file isn't adequate, you can specify an alternate file   using the --cacert option.  If this HTTPS server uses a certificate signed by a CA represented in   the bundle, the certificate verification probably failed due to a   problem with the certificate (it might be expired, or the name might   not match the domain name in the URL).  If you'd like to turn off curl's verification of the certificate, use   the -k (or --insecure) option.  

Now when I try with the -k option everything works fine, but I'd rather add their current SSL certificate so I can connect without the -k option.

I'd like to try the second option in the following answer but haven't managed so far: https://stackoverflow.com/a/24618403/2730032

I retrieved different certificates from my partners service with openssl like in: https://stackoverflow.com/a/7886248/2730032

Afterwards I tried adding these certificates to my server with https://superuser.com/a/437377

But so far I still cannot get curl to work without the -k flag. Am I wrong in how I retrieve the needed certificate or in how I add it to my system? Or am I mistaken in my general approach?

EDIT 1: This is what happens when I try to get the certificates via SSL

openssl s_client -showcerts -connect PARTNER:443 </dev/null  CONNECTED(00000003)  depth=0 O = PARTNER_INFO, OU = PARTNER_INFO, CN = PARTNER_INFO  verify error:num=20:unable to get local issuer certificate  verify return:1  depth=0 O = PARTNER_INFO, OU = PARTNER_INFO, CN = PARTNER_INFO  verify error:num=27:certificate not trusted  verify return:1  depth=0 O = PARTNER_INFO, OU = PARTNER_INFO, CN = PARTNER_INFO  verify error:num=21:unable to verify the first certificate  verify return:1  ---  Certificate chain   0 s:/O=PARTNER_INFO/OU=PARTNER_INFO/CN=PARTNER_INFO     i:/C=PARTNER_INFO/ST=PARTNER_INFO/L=PARTNER_INFO/O=PARTNER_INFO/OU=PARTNER_INFO/CN=PARTNER_INFO CA/emailAddress=PARTNER_INFO  -----BEGIN CERTIFICATE-----  CERTIFICATE1  -----END CERTIFICATE-----   1 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA - G3     i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5  -----BEGIN CERTIFICATE-----  CERTIFICATE2  -----END CERTIFICATE-----   2 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5     i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority  -----BEGIN CERTIFICATE-----  CERTIFICATE3  -----END CERTIFICATE-----  ---  Server certificate  subject=/O=PARTNER_INFO/OU=PARTNER_INFO/CN=PARTNER_INFO  issuer=/C=PARTNER_INFO/ST=PARTNER_INFO/L=PARTNER_INFO/O=PARTNER_INFO/OU=PARTNER_INFO/CN=PARTNER_INFO CA/emailAddress=PARTNER_INFO  ---  No client certificate CA names sent  ---  SSL handshake has read 3872 bytes and written 503 bytes  ---  MORE INFO...  

I've also tried openssl s_client -showcerts -key mycertandkey.pem -connect PARTNER:443 </dev/null but it gives me the same results (and certificates).

EDIT 2: As I've commented in the only answer so far: the partner in question added a Gandi CA to their server (at least that's what they tell me) and it now works. So it seems since their certificate is now signed by a CA that is in my default CA bundle I can now get curl to work without the -k flag. However it would be nice to know how I could've corrected the problem on my end.

In IIS7, is it possible to have custom environment variables per web site?

Posted: 24 Dec 2021 12:13 AM PST

I'm setting up IIS7.5 for a company intranet. The server will host both a 'test' and a 'prod' site. The environment variable I want to customize per site is 'PERL5LIB.

I want this web server to contain a Perl CGI (not FastCGI) environment. (ActiveState Perl v5.16, using PerlIs.dll and PerlEx30.dll). I want this Perl CGI environment to have both a 'test' and a 'prod' modules, so test modules can be loaded when hitting the 'test' site. Likewise, prod modules will be loaded when hitting the 'prod' site. Setting PERL5LIB per site is the key.

Apache would do this with a SetEnv directive associated with the URL of the site.

GPO Troubleshooting - Security Filtering - Computer Configuration

Posted: 24 Dec 2021 12:03 AM PST

We have a GPO that includes a Computer Configuration that enables a Preference that adds a security group to the local Administrators group. Since this is a Computer Configuration, do you need to add the Domain Computers security group to the Security Filtering?

The security group does not get added and GPResult is blank for the Computer Configuration section. Computers are in the correct OU that the GPO is applied/linked and there isn't any WMI filtering occuring. Any ideas?

Thanks!

UPDATE:

With a command prompt opened as Administrator I did the following:

  1. gpupdate /force
  2. gpresult /H report.html

The report shows the Computer Configuration Preference to add an AD security group to the local administrators group. Unfortunately, the group is still not added to the local admins group. Any other ideas?

nginx, gunicorn and django weird 504 gateway timeout

Posted: 23 Dec 2021 08:04 PM PST

I have an nginx / gunicorn / django setup as follows:

Nginx

server {      listen 80;      server_name myserver.com;        root /www/python/apps/pyapp/;        access_log /var/log/nginx/myserver.com.access.log;      error_log /var/log/nginx/myserver.com.error.log;          location / {          proxy_pass_header Server;          proxy_set_header Host $http_host;          proxy_redirect off;          proxy_set_header X-Real-IP $remote_addr;          proxy_set_header X-Scheme $scheme;          proxy_connect_timeout 10;          proxy_read_timeout 10;          proxy_pass http://localhost:8081/;      }  }  

My upstart script for gunicorn

description "pyapp"  start on [2345]  stop on [06]    respawn    # start from virtualenv path  chdir /www/python/apps/pyapp/  exec /usr/bin/gunicorn  -w 11 -b 0.0.0.0:8081 --error-logfile=/var/log/nginx/pyapp.log wsgi:application  

The server is running fine, requests are getting responded to pretty well. However, when i start directing traffic to this setup from my old server, pages start giving 504 gateway timeout errors.

What the requests are doing is only a matter of fetching data from DB and rendering using django-rest-framework. Looking at MySQL processlist, there doesn't seem to be any stuck queries there. This is kinda weird.

Any recommendations?

hosts file ignored, how to troubleshoot?

Posted: 23 Dec 2021 09:42 PM PST

The hosts file on Windows computers is used to bind certain name strings to specific IP addresses to override other name resolution methods.

Often, one decides to change the hosts file, and discovers that the changes refuse to take effect, or that even old entries of the hosts file are ignored thereafter. A number of "gotcha" mistakes can cause this, and it can be frustrating to figure out which one.

When faced with the problem of Windows ignoring a hosts file, what is a comprehensive troubleshoot protocol that may be followed?


This question has duplicates on SO, such as HOSTS file being ignored

However, these tend to deal with a specific case, and once whatever mistake the OP made is found out, the discussion is over. If you don't happen to have made the same error, such a discussion isn't very useful. So I thought it would be more helpful to have a general protocol for resolving all hosts-related issues that would cover all cases.

How much RAM do I need to run a forum using Nginx, Gunicorn, Django?

Posted: 23 Dec 2021 09:49 PM PST

I started an ec2 instance (micro) to test the amount of memory I have available to run a website but I was expecting having a bit more. So my question would be: How much RAM do I need to run a site using Django, Nginx and Gunicorn. This is what I found:

Starting a Ubuntu 12.04 instance consumes:

             total       used       free     shared    buffers     cached  Mem:           590        235        354          0          7        182  -/+ buffers/cache:         45        544  Swap:            0          0          0  

After running Gunicorn:

             total       used       free     shared    buffers     cached  Mem:           590        195        394          0          9         73  -/+ buffers/cache:        112        477  Swap:            0          0          0  

So I have 394MB available although I forgot to create a swap volume. Is that enough to run a forum receiving 3000-4000 visits per month? I would also appreciate some comments on the proper way to configure swap.

Thanks a lot

LDAP authentication apache 2.2 error 500

Posted: 23 Dec 2021 08:04 PM PST

This is my LDAP configuration in Apache2.2.x

  Order deny,allow    AuthType Basic    AuthName "Test"    AuthBasicProvider ldap    AuthLDAPURL "ldap://dc1.domain.com:389/DC=domain,DC=com?sAMAccountName" NONE    AuthLDAPBindDN "CN=Administrator,CN=Users,DC=domain,DC=com"    AuthLDAPBindPassword "secret"    authzldapauthoritative Off    require valid-user  

When I load the page, I get the pop up for password and username. But when I fill them in i get an internal server error.

If I look in the error log of apache is see no new errors. If I change my BindPassword to something wrong I get errors in my /var/log/apache2/error.log

Pulling my hair out!

MDB2, Pear, Mysql error

Posted: 23 Dec 2021 11:00 PM PST

ORIGINALLY POSTED ON https://stackoverflow.com/questions/2682332/mdb2-pear-mysql-error however as its a server issue thought i may have more luck here.


Hi Guys,

I have PEAR, MDB2 and Mysql Driver installed however I keep getting:

Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /home/**/PEAR/MDB2.php on line 1937.

The Server is CentOS

I am stuck, any help would be appriciated.

Thanks :)

No comments:

Post a Comment