Search results

  1. M

    Start Program (with Text Output) at Startup

    Correction, I am not on CentOS 5 but on CentOS 7.5. When I used systemd I did try to redirect the output as I do on the command line, i.e. [program] 2>&1 | tee output.txt. This didn't work. Do I need a different kind of redirect with systemd? rc.local seemed pretty simply. I just copied what I...
  2. M

    Start Program (with Text Output) at Startup

    I have a custom command line program that I need to automatically execute after the system has (re)booted. The program a) outputs text that I need to capture, either in a file or connecting to the process and see the output live. b) the program writes some files to store captured data (multiple...
  3. M

    Install openssl fails

    I did a yum update -y and it updated a bunch of things. After that I did the "sudo yum install libselinux-2.5-11.el7.x86_64 -y" but it told me it is already installed and there isn't anything to do. Now in my first post it does show that this version is "Available" but I assume that just means...
  4. M

    Install openssl fails

    I am new to Linux (CentOS to be specific) so I probably miss something basic. I need to install openssl to compile some program so I used sudo yum install openssl-devel I get the output ---> Package openssl-devel.x86_64 1:1.0.2k-8.el7 will be installed ... --> Finished Dependency Resolution...
  5. M

    No route to host

    I am running into other troubles but enabling all the CentOS (except the media one) and epel repos did the trick. No I don't get that error with the 192 IP address anymore and it seems it did indeed download packages from the internet. Thanks a lot for the help!!!
  6. M

    No route to host

    I did set enabled=0 and then [...@... yum.repos.d]$ yum clean all There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories...
  7. M

    No route to host

    That gives me [...@... ~]$ grep 192.168.10 /etc/yum.repos.d/*repo /etc/yum.repos.d/[Company]Install.repo:baseurl=http://192.168.10.4:8765/ [...@... ~]$ echo $HTTPS_PROXY And here is that 192 IP but I am not sure what those repo files are and how an IP in there makes this a default IP to go out...
  8. M

    No route to host

    The two lines of "IP Address: ..." were listed before I disabled the second network card. Now when logging in via ssh it only shows on IP: CentOS Linux release 7.5.1804 (Core) Kernel 3.10.0-693.21.1.rt56.639.el7.x86_64 Revision B System information as of: Wed Oct 26 22:48:01 GMT 2022 IP...
  9. M

    No route to host

    Here is what ip addr and nmcli con show prints [[username]@[IP] ~]$ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever...
  10. M

    No route to host

    netstat -nr shows the following: Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.13.224.1 0.0.0.0 UG 0 0 0 enp0s31f6 10.13.224.0 0.0.0.0 255.255.252.0 U 0 0 0...
  11. M

    No route to host

    The entries in /etc/hosts are 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 The issue seems to be that "sudo yum install apt" is trying to access...
  12. M

    No route to host

    I have a CentOS 7 system (no GUI) and logging in with ssh (Putty) from a Windows system. When I log in two IPs are listed, i.e. IP Address: 10.13.226.120/22 IP Address: 192.168.10.8/24 The connection I established is through the 10.13.226.120 address which I set to DHCP. There is a second...
  13. M

    Account Got Deleted

    Got it. I will post again.
  14. M

    Account Got Deleted

    I created an account today and posted a question with a networking issue I had. When I wanted to check back a few hours later not only my post was gone but my account was deleted. Why would my account be deleted? I didn't post anything inappropriate but just a Linux/CentOS question.
Top