• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. madskillz23
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 60
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by madskillz23

    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35449, member: 25349”]I have to report that stopping the FOGMulticastManager server and starting it again does not solve the multicast problem on CentOS 7…

      Any ideas??

      P.S. On my Ubuntu 14.04 LTS install of fog 1.2.0 the FOGMulticastManager.service along with the other two FOG services are not listed…[/quote]

      Syntax is different on non-systemd based systems. “service FOGMulticastManager status” will work just fine. The “.service” is systemd specific. Centos7 uses systemd, Ubuntu does not yet.

      I might have some ideas on multicast in a bit, I’m digging through source code.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35438, member: 25349”]Fount the answer on another thread…

      [FONT=Consolas]sudo service FOGMulticastManager stop[/FONT]
      [FONT=Consolas]sudo killall udp-sender[/FONT]
      [FONT=Consolas]sudo killall udp-sender[/FONT]
      [FONT=Consolas]sudo killall udp-sender[/FONT]
      [FONT=Consolas]sudo service FOGMulticastManager start[/FONT][/quote]

      Did that work on CentOS 7 too? Didn’t think it would work for me because it seems to be an issue of MulticastManager not thinking the node is a storage node.

      posted in Feature Request
      M
      madskillz23
    • RE: FOG Is Inoperable After Server Reboot

      [CODE]chkconfig --levels 235 mysqld on [/CODE]

      That will do it assuming mysql is installed correctly. If not manually install mysql then run that command.

      posted in FOG Problems
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      Yeah it was caused by MySQL not starting correctly. Same issue you had. Dumb error on my part.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35418, member: 25349”]doesn’t the fog installer re-launch the database??? if so, would a cron job to restart it nightly or every other night be an OK workaround??

      systemctl restart mariadb.service[/quote]

      Nope restarting the system has no effect. Its a bit in the database or somewhere that is persistently set to upgrade.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      The correct command for nfs starting after a reboot is: [CODE]systemctl enable nfs-server.service[/CODE] Apparently just nfs instead of nfs-server didn’t work.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      On CentOS 7 across multiple servers I repeatedly keep getting this same problem:

      On original fresh fog install, does not ask to update database schema. But after a while (few hours to a weekend) it prompts for a database schema update which consistently fails. Have to rerun fog installer to bypass the issue so I can get to the web interface. Is there a way to manually reset that bit in the database without rerunning the fog installer?

      Have not seen this issue on CentOS 6.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35345, member: 25349”]madskillz23,

      Same here… can’t multicast even on a flat (unmanaged) switch…

      now… on a VM Server (different than the one with the problem for multicast) MariaDB fails to start on boot and I have to restart it every time with:

      [INDENT=1]systemctl restart mariadb.service[/INDENT]

      I tried adding the following two lines to the my.cnf

      [INDENT=1][mysql.service][/INDENT]
      [INDENT=1]–service-startup-timeout=9000[/INDENT]

      but it did not help…

      Again… I’m semi-new to linux… any help appreciated…[/quote]

      Not sure on multicast yet. Try systemctl enable mariadb.service. and on an unrelated note, I also had to start the nfs service on a new server I threw up, like you had happen to you earlier in the thread

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      Multicast still not working

      Output of Multicast.log:

      [08-15-14 1:16:20 pm] | StorageNode Not found on this system.
      [08-15-14 1:16:30 pm] | StorageNode Not found on this system.
      …
      This is a stand alone fog server, it is the master storage node. I’m kind of out ideas.

      Also I can use udp-sender and receiver to transmit the multicast log simultaneously between two clients as per these instructions. The third step is out of date. [url]http://fogproject.org/wiki/index.php?title=Troubleshooting_a_multicast[/url]

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      I got upload working on my CentOS 7 machine. Might have been due to setting seccomp=No in /etc/vsftpd/vsftpd.conf or more likely due to stupid vlan issues being resolved. Testing Multicast now, it seems to hang on “starting to restore image”

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35287, member: 25349”]Yup… I forgot to add that I did have to stop and disable the firewall service…

      The problem I was having with mounting the NFS share for /images/dev in /images was due to the NFS service not running…

      I did, I think, systemctl restart nfs-server.service and also systemctl enable nfs-server.service just to be sure…[/quote]

      Is it working now? I don’t think your error is centOS 7 specific. I am almost positive I had nfs mounting out of box in centOS 7.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      Has anyone been able to get a succesful upload working? Mine is failing on FOGFTP_login() have tried a few quick fixes, will look into it some more this afternoon.

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“Jose Antonio Sanchez, post: 35283, member: 25349”]I had to also disable SELINUX:

      [COLOR=#000000][FONT=monospace]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/sysconfig/selinux[/FONT][/COLOR]
      [COLOR=#000000][FONT=monospace]sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/’ /etc/selinux/config[/FONT][/COLOR]

      And clients were able to PXE boot after that.

      I can register hosts… but, on Upload task the client can’t mount NFS:

      [CODE]mounting x.x.x.x:/images/dev/ on /images failed: Operation not supported

      Fatal Error: Failed to mount NFS Volume[/CODE]

      Then I chown the /images forlder:

      [CODE]chown -R fog /images[/CODE]

      And rebooted and tried again, same error…[/quote]

      Have to disable SElinux on all distros. Rip off your firewall as well quick to test the NFS mount. systemctl stop firewalld.service && systemctl disable firewalld.service

      posted in Feature Request
      M
      madskillz23
    • RE: CentOS 7/RHEL 7/Fedora 20 Support

      [quote=“PatrickG, post: 34779, member: 24811”]I think for centos 7 mysql needs to be mariadb instead.[/quote]

      I just got back from vacation. Fog installer takes care of this already for these distros.

      posted in Feature Request
      M
      madskillz23
    • CentOS 7/RHEL 7/Fedora 20 Support

      Hey guys I am making this thread to help each other get Fog 1.2.0+ eventually supported/running on these systems. Please list any code changes or general commands you used here to make Fog work on your system, or any problems you are currently having regarding these distros.

      The Fog installer for these distros should work as of 1.2.0, disregarding the excess systemd Notes about Forwarding.
      These distros also use firewalld instead of iptables, to disable the firewalls in these distros run systemctl stop firewalld.service && systemctl disable firewalld.service

      posted in Feature Request
      M
      madskillz23
    • RE: Fog on Fedora 20

      [quote=“Kronkras, post: 34559, member: 25243”]That did the trick.

      I’ll still to test the system, register, upload an image, and deploy unicasts and multicast. I’ll update with the results.

      Thanks guys![/quote]

      I’m on CentOS 7 (similar architecture to Fedora 20) and haven’t been able to get image upload working properly yet. Best of luck.

      posted in FOG Problems
      M
      madskillz23
    • RE: Fog on Fedora 20

      [quote=“Kronkras, post: 34554, member: 25243”]Ok, so I figured out why I was not able to disable selinux, I was missing a D (disable[B]d[/B]). Now is disabled but I’m still unable to reach the website.
      Thasnks[/quote]

      Firewall issue. systemctl stop firewalld.service && systemctl disable firewalld.service

      That should do it.

      posted in FOG Problems
      M
      madskillz23
    • RE: Admin left Need Password

      If you don’t have access to the linux box, “single user mode” is your friend. Google that and it will allow you to change passwords etc.

      posted in General
      M
      madskillz23
    • RE: Mysql-server check fails during installation script on CentOS 7 and SVN 2076

      [quote=“Tom Elliott, post: 33483, member: 7271”]THank you for the “patch” and I’ve now added this to svn trunk at 2084. I haven’t tested it, but it is there and should work.

      Thanks for reporting. I hope you understand why I got upset and didn’t mean it directly at one person, but in general, your post just happened to be “the one”.[/quote]

      Thank you very much, and I understand. I am working to continue testing CentOS 7 support and let you know of any issues. It is not my production environment, so any issues encountered may be addressed at your leisure. Should there be another thread somewhere for CentOS 7 support?

      posted in Bug Reports
      M
      madskillz23
    • RE: Mysql-server check fails during installation script on CentOS 7 and SVN 2076

      Hey guys thank you for all the hard work you are doing on this project. I know CentOS7 is brand new, and I am not expecting the fix to be implemented anytime soon. I called it a bug because it was a bug in what I considered expected functionality. But yes Tom, you are right it is nothing wrong with the current code. I guess you could move this to a feature request then.

      In CentOS7 the repositories default to mariadb-galera-server, instead of just mariadb-server. To implement the proposed change the functions in lib/redhat/functions.sh : installPackages() and confirmPackageInstallation(), both need an additional if statement for mariadb-galera-server.

      [CODE]installPackages() …

      if [ $x == “mysql-server” ]

                  then
      
                          rpm -q $x >/dev/null 2>&1;
      
                          if [ "$?" != "0" ]
      
                          then
      
                                  x="mariadb-server";
      
                          fi
      
                          rpm -q $x >/dev/null 2>&1;
      
                          if [ "$?" != "0" ]
      
                          then
      
                                  x="mysql-server";
      
                          fi
      
                          rpm -q $x >/dev/null 2>&1;
      
                          if [ "$?" != "0" ]
      
                          then
      
                                  x="mariadb-galera-server";
      
                          fi
      

      fi

      [/CODE]

      [CODE]confirmPackageInstallation()

      …

      if [ $x == “mysql-server” ]

                  then
      
                          rpm -q $x >/dev/null 2>&1;
      
                          if [ "$?" != "0" ]
      
                          then
      
                                  x="mariadb-server";
      
                          fi
      
                          rpm -q $x >/dev/null 2>&1;
      
                          if [ "$?" != "0" ]
      
                          then
      
                                  x="mariadb-galera-server";
      
                          fi
      

      fi

      [/CODE]

      posted in Bug Reports
      M
      madskillz23
    • 1 / 1