Fedora Core 5 ISP, Major Problems

Discussion in 'HOWTO-Related Questions' started by jnolla, May 29, 2006.

  1. jnolla

    jnolla New Member

    Everything went well with the installation thank you.

    After starting using the system, I created some clients, sites, and some users for those clients, using Ispconfig. Everything seem to be well, until I rebooted!

    I had no login screen anymore! Apache is running, but Ispconfig does not work!This happend after creating users and rebooting.

    I need serious help. Ican't even login to my system through KDE! I can SSH to the system.

    I think is a problem with /etc/fstab! HELP! PLEASE!!!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ?

    Restart ISPConfig like this:
    Code:
    /etc/init.d/ispconfig_server restart
    Then add the appropriate system startup links so that ISPConfig is started at boot time:
    Code:
    chkconfig --levels 235 ispconfig_server on
     
  3. jnolla

    jnolla New Member

    netstat -tap

    Ispconfig did restart with:
    Returned:

    netstat -tap Output:

     
  4. falko

    falko Super Moderator Howtoforge Staff

    Ok, ISPConfig is running now.

    You might have to modify /etc/init.d/ispconfig_server so that its header resembles your other init scripts. Then chkconfig should work.
     
  5. jnolla

    jnolla New Member

    I still can't login to the server like use too, through KDE! Everything seems to b working normally, yet the login screen does not show up!

    Help Please!!

    Thanks
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Do you get any error messages?
    Make sure your firewall doesn't block port 81.
     
  7. jnolla

    jnolla New Member

    I can't login into the system anymore! Fedora! Not Ispconfig!

    I can get Ispconfig through my laptop, and everything is working great!
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Do you mean the desktop, or SSH, ...?
     
  9. jnolla

    jnolla New Member

    Desktop, I can ssh into it.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    You can try to start KDE from the shell with this command:
    Code:
    startx
     
  11. jnolla

    jnolla New Member

    This the output:

    xauth: creating new authority file /root/.serverauth.8666
    xauth: creating new authority file /root/.Xauthority
    xauth: creating new authority file /root/.Xauthority

    Fatal server error:
    Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.



    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    giving up.
    xinit: unable to connect to X server
    xinit: No such process (errno 3): Server error.
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Can you kill the existing X processes and run
    Code:
    startx
    again?
     
  13. jnolla

    jnolla New Member

    After I deleted the file above and entered:

    startx

    through SSH, it worked; back to normal! But when I close that session through the remote terminal, the xwindows session goes with it. How can I make it a permanent thing?

    Also, after I reboot the system, I still need to reboot ispconfig. What else can i do for this process to start automatically?

    Thanks Again
     
  14. falko

    falko Super Moderator Howtoforge Staff

  15. jnolla

    jnolla New Member

    This is the message I get every time!

    I still can't get startx at boot!
     
  16. falko

    falko Super Moderator Howtoforge Staff

    You might have to adjust the header of ispconfig_server. Have a look at some other init scripts in /etc/init.d. There must be a section in the header that describes in which runlevels a service should be started. Copy that to ispconfig_server.
     
  17. jnolla

    jnolla New Member

    Still No luck

    I can't boot to xwindows! The only way around this is if I logging through ssh on a remote computer and enter the command startx.

    But If I have no computer available, the only way to get to x windows is using the single user mode; otherwise I get a blue screen. No way to enter commands or anything.

    Please help, it's been a while and it is very inconvenient.
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Create an init script like this one (e.g. /etc/init.d/startx):
    Code:
    #!/bin/bash
    
    ## header copied from some other init script goes here ##
    
    startx
    Make it executable:
    Code:
    chmod 755 /etc/init.d/startx
    and use the chkconfig tool to make it start at boot.
    Please replace ## header copied from some other init script goes here ## with the header section from some other init script because otherwise chkconfig will fail.
     
  19. jnolla

    jnolla New Member

    Please replace ## header copied from some other init script goes here ##

    I've tried to look at different scripts but they all look diffferent. I'm not exactly sure what I'm supposed to copy from the other scripts. Here is what I have so far, but I get an error saying:

    service startx does not support chkconfig


    Code:
     #!/bin/bash
    # chkconfig: 2345 11 92
    # Source function library.
    . /etc/init.d/functions
    
    
    
    # Source networking configuration
    . /etc/sysconfig/network
    
    # Check that networking is up.
    [ ${NETWORKING} = "no" ] && exit 0

    I'm a rookie when it comes to scripting, so if you could be a little more specific it would hep.

    Thanks
    Falko
     
  20. falko

    falko Super Moderator Howtoforge Staff

    The # chkconfig: part at the top of the init scripts is important.
    I don't have a SuSE system at hand right now, so can you post the contents of another init script here so that I can tell you what you must put into the startx script?
     

Share This Page