Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
1 answers
4192 views
Unable to install cntlm on Red Hat Enterprise Linux 9 due to the absence of chkconfig
I am trying to set up proxies on my Red Hat Enterprise Linux 9. I am trying to install CNTLM proxy authentication software. I downloaded the RPM file from the official repo and tried the following command: sudo rpm -Uvh cntlm-0.92.3-1.x86_64.rpm However, I get error: Failed dependencies: /sbin/chkco...
I am trying to set up proxies on my Red Hat Enterprise Linux 9. I am trying to install CNTLM proxy authentication software. I downloaded the RPM file from the official repo and tried the following command: sudo rpm -Uvh cntlm-0.92.3-1.x86_64.rpm However, I get error: Failed dependencies: /sbin/chkconfig is needed by cntlm-0.92.3-1.x86_64 To try to fix this, I used the following command: sudo dnf install chkconfig This had the following output: Updating Subscription Management repositories. Icinga RH9 3.7 kB/s | 2.0 kB 00:00 rh9-bosch 3.7 kB/s | 2.0 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: chkconfig x86_64 1.20-2.el9 rhel-9-for-x86_64-baseos-rpms 184 k Transaction Summary ================================================================================ Install 1 Package Total download size: 184 k Installed size: 764 k Is this ok [y/N]: y Downloading Packages: chkconfig-1.20-2.el9.x86_64.rpm 177 kB/s | 184 kB 00:01 -------------------------------------------------------------------------------- Total 177 kB/s | 184 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : chkconfig-1.20-2.el9.x86_64 1/1 Error unpacking rpm package chkconfig-1.20-2.el9.x86_64 Verifying : chkconfig-1.20-2.el9.x86_64 1/1 Installed products updated. Failed: chkconfig-1.20-2.el9.x86_64 First off, the "error unpacking rpm..." error message and the "Installed products updated" messages seem contradictory; I don't understand exactly what's going on there. Secondly, this appears to make no difference - I'm still unable to do the cntlm install. Can anyone suggest how I can fix this so that I can install cntlm?
EJoshuaS - Stand with Ukraine (119 rep)
Feb 21, 2023, 05:00 PM • Last activity: Feb 27, 2023, 12:36 PM
1 votes
2 answers
1020 views
Where is the process running the service?
The service is running: » sudo service cntlm status ● cntlm.service - LSB: Authenticating HTTP accelerator for NTLM secured proxies Loaded: loaded (/etc/init.d/cntlm; bad; vendor preset: enabled) Active: active (exited) since Tue 2018-02-20 12:01:02 CET; 3min 33s ago Docs: man:systemd-sysv-gene...
The service is running: » sudo service cntlm status ● cntlm.service - LSB: Authenticating HTTP accelerator for NTLM secured proxies Loaded: loaded (/etc/init.d/cntlm; bad; vendor preset: enabled) Active: active (exited) since Tue 2018-02-20 12:01:02 CET; 3min 33s ago Docs: man:systemd-sysv-generator(8) Process: 9215 ExecStop=/etc/init.d/cntlm stop (code=exited, status=0/SUCCESS) Process: 9298 ExecStart=/etc/init.d/cntlm start (code=exited, status=0/SUCCESS) Tasks: 0 Memory: 0B CPU: 0 Feb 20 12:01:02 host1 systemd: Starting LSB: Authenticating HTTP accelerator for NTLM secured proxies... Feb 20 12:01:02 host1 cntlm: Starting CNTLM Authentication Proxy: failed! Feb 20 12:01:02 host1 systemd: Started LSB: Authenticating HTTP accelerator for NTLM secured proxies. But there is no process: » ps -ef | grep cntlm dangonfast 12466 13067 0 12:05 pts/19 00:00:00 grep --color=auto cntlm Why is that?
blueFast (1378 rep)
Feb 20, 2018, 11:06 AM • Last activity: Aug 22, 2018, 10:22 AM
1 votes
0 answers
4204 views
Curl fails with ntlm proxy
My work uses an NTLM proxy. On my Linux servers and workstations we us cntlm to authenticate. I'm not having any issues with yum,wget, or the web browser, but for some reason curl refuses to work correctly. [root@rhel7 ~]# curl -vv https://get.docker.com/ * About to connect() to get.docker.com port...
My work uses an NTLM proxy. On my Linux servers and workstations we us cntlm to authenticate. I'm not having any issues with yum,wget, or the web browser, but for some reason curl refuses to work correctly. [root@rhel7 ~]# curl -vv https://get.docker.com/ * About to connect() to get.docker.com port 443 (#0) * Trying 52.84.21.59... * Connected to get.docker.com (52.84.21.59) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * NSS error -5938 (PR_END_OF_FILE_ERROR) * Encountered end of file * Closing connection 0 curl: (35) Encountered end of file Here is my version information: [root@rhel7 ~]# curl -V -v curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.16.2.3 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz Of course, it works if I connect to localhost: [root@rhel7 ~]# curl -vv localhost/mediawiki/ * About to connect() to proxy 127.0.0.1 port 3128 (#0) * Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 3128 (#0) > GET HTTP://localhost/mediawiki/ HTTP/1.1 > User-Agent: curl/7.29.0 > Host: localhost > Accept: */* > Proxy-Connection: Keep-Alive > < HTTP/1.1 301 Moved Permanently < Date: Mon, 01 Feb 2016 19:43:50 GMT < Server: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 < X-Powered-By: PHP/5.4.16 < X-Content-Type-Options: nosniff < Vary: Accept-Encoding,Cookie < Expires: Thu, 01 Jan 1970 00:00:00 GMT < Cache-Control: private, must-revalidate, max-age=0 < Last-Modified: Mon, 01 Feb 2016 19:43:50 GMT < Location: http://rhel7/mediawiki/index.php/Main_Page < Content-Length: 0 < Keep-Alive: timeout=5, max=100 < Connection: keep-alive < Content-Type: text/html; charset=utf-8 < Proxy-Connection: keep-alive < * Connection #0 to host 127.0.0.1 left intact And: [root@rhel7 ~]# uname -a Linux rhel7.example.com 3.10.0-327.4.5.el7.x86_64 #1 SMP Thu Jan 21 04:10:29 EST 2016 x86_64 x86_64 x86_64 GNU/Linux cntlm.conf: [root@rhel7 ~]# grep -v "#" /etc/cntlm.conf Username John.Smith Domain EXAMPLE.COM Proxy 159.29.10.10:8080 Auth NTLMv2 PassNTLMv2 121212121212121212112121212 Listen 3128 NoProxy localhost, 127.0.0.*, 10.*, 192.168.*
Jeight (2669 rep)
Feb 1, 2016, 07:55 PM • Last activity: Jun 8, 2018, 04:58 PM
Showing page 1 of 3 total questions