Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Spamd install/reinstall problem

    Scheduled Pinned Locked Moved pfSense Packages
    22 Posts 9 Posters 10.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      devnull
      last edited by

      Hi,

      I installed a new PFS(1.2.3) and added some packages and after that loaded a configuration from the previous machine. After the machine rebooted and I logged in the packages started reinstalling but there was a problem with the internet connection and spamd didn't finish installing. So but the package was missing in the install menu and was in the installed menu. But when I tried to navigate to it I got this error:

      
      Warning: fopen(/usr/local/pkg/spamd.xml): failed to open stream: No such file or directory in /etc/inc/xmlparse.inc on line 158 Error: could not open XML input 
      

      So I tried reinstalling it and keep getting this result:

      Removing package... 
      Loading package configuration ... 
      Starting package deletion for ...
      done.
      The spamd package is not installed.
      
      Deletion aborted.Saving updated package information... overwrite!
      The spamd package is not installed.
      
      Installation aborted.Writing configuration... done.
      Starting service.
      
      Package reinstalled.
      

      or

      The spamd package is not installed.
      
      Deletion aborted.Saving updated package information... overwrite!
      The spamd package is not installed.
      
      Installation aborted.Writing configuration... done.
      Starting service.
      
      Package reinstalled.
      

      and when I tried to remove the package I got this:

      Removing package... 
      Loading package configuration ... 
      Starting package deletion for ...
      done.
      The spamd package is not installed.
      
      Deletion aborted.
      Package deleted.
      

      But I still can't find it between the packages and it is still present in the services menu.

      Is there any other way to force the system to reinstall this package?

      I tried running pkg_info command and didn't find spamd among the installed packages.

      Thanks for the help.

      Bye

      1 Reply Last reply Reply Quote 0
      • D
        devnull
        last edited by

        Well,

        I got a new idea on how to try and solve my problem but it didn't panned out.
        I've tried editing out the spamd entries in the the config.xml and rebooted. It didn't work.

        Anyone anything?

        Thanks and bye

        1 Reply Last reply Reply Quote 0
        • jahonixJ
          jahonix
          last edited by

          Try applying a full update (the same pfSense version) and see if it helps cure this problem.
          Usually all packages are reinstalled again on reboot so make sure the box is facing the internet for proper installation.

          1 Reply Last reply Reply Quote 0
          • D
            devnull
            last edited by

            Hi,

            ok what about if I'm already running running the newest version of PFS?
            Can I just reinstall all the packages in the backup/restore menu? I'm actually apprehensive with reinstalling all the packages since it might screw up something else.

            Any other way of getting this package installed? Without having to reinstall all of them.

            Thanks for the help, I'll report back in a day or two on how it goes since I'll try it when the is least traffic in case I screw up.  :)

            Bye

            1 Reply Last reply Reply Quote 0
            • D
              devnull
              last edited by

              Hi,

              well I just tried updating the darn thing and the end result is exactly the same.
              Nothing has changed.

              If I run a an url for installation of spamd I just keep getting the same error as above.

              
              http://my_pfs_ip/pkg_mgr_install.php?id=spamd
              
              
              Saving updated package information... overwrite!
              The spamd package is not installed.
              
              Installation aborted.Writing configuration... done.
              Starting service.
              
              Installation completed.   Please check to make sure that the package is configured from the respective menu then start the package.
              

              I even tried reinstall all packages but same result all of them get installed accept this one.

              I'm out of ideas. Anyone else come up with something interesting that might work?

              Thanks for the help.

              Bye

              1 Reply Last reply Reply Quote 0
              • P
                Perry
                last edited by

                @sullrich:

                spamd has been removed.  if this makes anyone angry you can blame erict35 for his loving private message he sent me.

                As an alternative you can setup you own package server.

                /Perry
                doc.pfsense.org

                1 Reply Last reply Reply Quote 0
                • D
                  devnull
                  last edited by

                  Ok,

                  did not know that. Thank you Perry for the info.  :D
                  That would explain why the darn package wouldn't install, just wish I knew that before I went reinstalling the whole thing(PFS).  ;D

                  My one package server.? As supposed to the same way that was done with nTop when it was removed?
                  I've still got the alt_pkg.php but I think I'd need two additional xml files right? spamd.xml and another pkg_config_for_local_spamd.xml if I remember correctly.
                  Where would I go about obtaining something like that if you'd be so kind to relay the info.  :)

                  Thanks again and bye.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Perry
                    last edited by

                    http://www.myupload.dk/handleupload/3ab383dd1de4c50b0a1c31466313f20d1266409041
                    A cryptic hint could be that every file might not be needed. ;)

                    /Perry
                    doc.pfsense.org

                    1 Reply Last reply Reply Quote 0
                    • D
                      danswartz
                      last edited by

                      Wow, I must be missing some context here.  spamd was removed because of an obnoxious user?  Or was there an issue with the package and the user was being a jerk?  This is a bummer for me, since I have spamd installed on my 1.2.3 gateway, so apparently if I ever have to restore and/or move to 2.0 I will need to figure something else out :(

                      1 Reply Last reply Reply Quote 0
                      • P
                        Perry
                        last edited by

                        @http://redmine.pfsense.org/repositories/revision/2/06df02b0a5c625ef994144cb1140b953ffb14d86:

                        I am fed up with receiving persnonal emails and forum messages that read along the lines of:

                        "You don't need to be so unpleasant and arrogant

                        Is money and commercial support the only way to have correct support on this bullshit forum"

                        /Perry
                        doc.pfsense.org

                        1 Reply Last reply Reply Quote 0
                        • D
                          danswartz
                          last edited by

                          yeah, i saw that, thanks.  i was trying to figure out what precipitated all of this, but this leaves me not much wiser :(

                          1 Reply Last reply Reply Quote 0
                          • R
                            Roodawakening
                            last edited by

                            So one member of the pfSense forum pisses off Ullrich and he retaliates by denying thousands of pfSense users the ability to install Spamd? Wow. Just wow.

                            "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
                            –Virgil, Aeneid, Book 6

                            Rob

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest
                              last edited by

                              The SpamD package was broken in 1.2.3 and there wasn't a user interested in fixing it.  That's why the package was removed.  A user being a belligerent jerk is secondary.

                              1 Reply Last reply Reply Quote 0
                              • D
                                danswartz
                                last edited by

                                Thanks, this is the first we had heard of this.  What specifically was broken?  Is it only 1.2.3 it is broken in?  If it is general breakage, I might be interested in trying to fix it…

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest
                                  last edited by

                                  As I understand, it was broken in 1.2.3, although I had stopped using the package long before then so I can't say what was broken or when.  If you want to take on the package, rock it out.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    danswartz
                                    last edited by

                                    Not much point, now that I think about it.  1.2.3 is basically not taking fixes, as I understand it.

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      Guest
                                      last edited by

                                      Packages are entirely separate.  There's no reason you can't restore the spamd package and ensure that it will work with 2.0.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        devnull
                                        last edited by

                                        I'll try and get it working tomorrow evening since I'm reluctant to do stuff like this by remote since I might screw something up and have to go there anyway.
                                        I had some problems once when the alt_pkg.php didn't quite wanna work when the PFS gui wasn't on port 80 so I have to change that and stay alert not to lock myself out with squid running on port 80.

                                        As I understand I'll try to get it working the same way I did with nTop. Hope it's similar.

                                        Thanks for the help and I'll check back.

                                        Bye

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kongar
                                          last edited by

                                          @submicron:

                                          The SpamD package was broken in 1.2.3 and there wasn't a user interested in fixing it.  That's why the package was removed.  A user being a belligerent jerk is secondary.

                                          Strange… I'm using SpamD since PFS 1.2. Now it works on 1.2.3. I'm can't see where it's broken?..
                                          And it's also strange, that just 1 troll can ruin this great package. If he will continue to blame on other packages, do they going to be removed too?

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            devnull
                                            last edited by

                                            Hi,

                                            tried installing the package manually but didn't have any success. I kept getting a local 127.0.0.1 xml could not be loaded. I'll try again in a few days but I'm a little apprehensive since I might screw up something in the process and then have to clean that up as well.  ;D

                                            Has anyone had any success loading packages with alt pkg? Cause I'm not sure if I'm doing something wrong or not.

                                            Thanks and bye

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.