Results 1 to 17 of 17
  1. #1
    Join Date
    Nov 2001
    Posts
    216

    cobalt admin apache corrupted !

    Hi, my cobalt apache is corrupted so I can't access the /admin, /siteadmin or /personal anymore. I've been trying to fix it for a bit now but with no success. I don't want to do a restore. I've got no sites on it. Does someone know how I could restore the original files by hand ? If it would be possible could someone post here a backup of the cobalt apache tared and tell me the right commange to untar it keeping the right permissions etc ...
    I know there are quite a few gurus around on the forum,
    Could someone please try and help me. Maybe even reinstall apache... but I wouldn't know where to start.
    Thanks in advance ,

    Hoot

  2. #2
    Join Date
    Sep 2001
    Location
    Switzerland
    Posts
    51
    Here is a script to solve this...



    cobalt aid


    siteManage-fix.tgz


    I haven't tried it, so use it at your own risk!!!


    Good luck!
    http://www.energyweb.ch

  3. #3
    Join Date
    Nov 2001
    Posts
    216
    WOW! thanks ! I've got nothing to lose so I will test it streight away !!
    By any chance do you know the commande to run a pkg from ssh ?

    Thanks

  4. #4
    Join Date
    Sep 2001
    Location
    Switzerland
    Posts
    51
    there is a thread in this forum....


    /usr/local/sbin/cobalt_upgrade PACKAGENAME.pkg
    http://www.energyweb.ch

  5. #5
    Join Date
    Nov 2001
    Posts
    216
    Thanks, well I've just seen that it's not a pkg. But at the moment the search option on this forum seems to be disabled !

  6. #6
    Join Date
    Nov 2001
    Posts
    216
    Well, I've run it, got no errors and have rebooted the server, I will soon see if it has fixed my poblem ... !

  7. #7
    Join Date
    Nov 2001
    Posts
    216
    Well I'm afriad that it didn't work well the /admin and /personal and /siteadmin still don't come up, I thought that a reboot should start up the admin apache, maybe I have to start it by hand, what is the command ? Thanks

  8. #8
    Join Date
    Nov 2001
    Posts
    216
    I've just read a bit deeper, the script isn't for restoring apache but for restoring the admin pages them selves, the /admin, /personal and /siteadmin files are all OK but the apache that allows them to run is not,

    Any ideas ?

  9. #9
    Join Date
    Apr 2002
    Location
    Germany
    Posts
    121
    Originally posted by hoot
    Well I'm afriad that it didn't work well the /admin and /personal and /siteadmin still don't come up, I thought that a reboot should start up the admin apache, maybe I have to start it by hand, what is the command ? Thanks
    Can you reach http://www.yourdomain.com:81/.cobalt/sysManage/ ?

    Cu, Moritz

  10. #10
    Join Date
    Nov 2001
    Posts
    216
    No, I think that it's on the admin apache too ...
    All I need is to somehow rebuild apache !

  11. #11
    Join Date
    Nov 2001
    Posts
    216
    Hi, can't anyone help me ? I guess that my next solution is to try something like taring the admin server apache from my raq4 and sending it to my raq3, I bet they are not compatible, but does anyone know what the tar instructions would be to keep everything with the same permissions etc ...

  12. #12
    Join Date
    Mar 2001
    Location
    Ireland
    Posts
    1,354
    Originally posted by hoot
    Hi, can't anyone help me ? I guess that my next solution is to try something like taring the admin server apache from my raq4 and sending it to my raq3, I bet they are not compatible, but does anyone know what the tar instructions would be to keep everything with the same permissions etc ...
    If you do a simple tar --create --verbose --filename=XX.tar folder/files to tar
    then gzip it, you should preserve the structure and permissions, though it might not solve your problem.

    Have you tried the Sun Cobalt forum?
    Blacknight
    ICANN accredited domain registrar

  13. #13
    Join Date
    Oct 2001
    Location
    san diego
    Posts
    256
    have you tried this as root#/etc/rc.d/init.d/admserv restart

  14. #14
    Join Date
    Nov 2001
    Posts
    216
    Yes we get an error saying something like apache shouldn't be run as root but I have checked it and it is not running as root but apache ...
    I'm rearly lost with this one and am wondering if there is a way of reinstalling it ...

  15. #15
    Join Date
    Sep 2001
    Location
    Switzerland
    Posts
    51
    Hi

    I've found this rpm on the net...

    apache-admsrv-1.3.20-RaQ4_1C1.i386.rpm


    but i'm not sure, what it does.. so USE IT AT YOUR OWN RISK!


    You can download this rpm from my page:
    download rpm


    GOOD LUCK!
    http://www.energyweb.ch

  16. #16
    Join Date
    Nov 2001
    Posts
    216
    Do you remember where you got it? I've got a raq3 not a raq4...
    I'd like to read some doc about it before installing it ...

    Thanks !

  17. #17
    Join Date
    Sep 2001
    Location
    Switzerland
    Posts
    51
    I think I found it in the


    sun - forum
    http://www.energyweb.ch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •