Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th April 2006, 22:41
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default server shutdown now ip changed and sites arent working properly

Hi, There was a power outage in my area and it shut my server down now the ip has changed from what it was, I got that problem fixed by changing the port forwarding on my router but now my hosted websites arent running properly, if you go to runecore.selfip.com:82 you will see that it shows "Index of /" instead of going to the folder "runecore.selfip.com/" Can someone help me fix this? I probably need to change some settings in isp config to show that it is running on a different ip.

Also could someone help me get my server to work on static ip? If I change it to static then I can't access the internet I don't know why that is.

EDIT- php doesnt seam to be running either.(example)
__________________
My Server Stats:
No servers currently working.

Last edited by Jrdgames; 18th April 2006 at 07:01.
Reply With Quote
Sponsored Links
  #2  
Old 18th April 2006, 11:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Why did you set up a server with DHCP?

Which distribution do you use? Did you have a look at the appropriate "Perfect Setup" for your distribution on HowtoForge? They have a section discussing the network setup.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th April 2006, 07:24
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Why did you set up a server with DHCP?

Which distribution do you use? Did you have a look at the appropriate "Perfect Setup" for your distribution on HowtoForge? They have a section discussing the network setup.
EDIT- I got it to work on static now. (hooray!) I set it up with DHCP because thats what it did automaticaly.
I am using Ubuntu, I did read the perfect setup.

Can someone help me set programs to start when the server does?
And help me restart php?
__________________
My Server Stats:
No servers currently working.

Last edited by Jrdgames; 19th April 2006 at 07:49.
Reply With Quote
  #4  
Old 19th April 2006, 08:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
Default

Quote:
Originally Posted by Jrdgames
EDIT- I got it to work on static now. (hooray!) I set it up with DHCP because thats what it did automaticaly.
I am using Ubuntu, I did read the perfect setup.
DHCP is the default in Ubuny, thats why i described how to configure a static IP in the howto DHCP is not suited for a server if you do not run your DHCP server that it assigns always the same IP to your server.

Quote:
Can someone help me set programs to start when the server does?
And help me restart php?
Which daemon does not start at boot. All daemons installed by the perfect setup are installed to run at boot.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th April 2006, 19:02
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Which daemon does not start at boot. All daemons installed by the perfect setup are installed to run at boot.
Im not sure which daemon isnt starting at boot but here is my list of running proccesses if that wil help.

Code:
  PID TTY          TIME CMD
    1 ?        00:00:04 init
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 khelper
    5 ?        00:00:00 kthread
   20 ?        00:00:00 kblockd/0
   62 ?        00:00:00 pdflush
   63 ?        00:00:00 pdflush
   65 ?        00:00:00 aio/0
   64 ?        00:00:02 kswapd0
  655 ?        00:00:00 kseriod
  881 ?        00:00:00 scsi_eh_0
 1878 ?        00:00:00 khubd
 3021 ?        00:00:01 kjournald
 3211 ?        00:00:00 udevd
 4793 ?        00:00:00 kjournald
 4808 ?        00:00:02 kjournald
 5536 ?        00:00:00 kgameportd
 6169 ?        00:00:00 dd
 6171 ?        00:00:00 klogd
 6184 ?        00:00:00 dbus-daemon
 6197 ?        00:00:01 hald
 6208 ?        00:00:35 hald-addon-stor
 6248 ?        00:00:00 gdm
 6255 ?        00:00:01 gdm
 6302 ?        01:39:27 Xorg
 6363 ?        00:00:00 hpiod
 6379 ?        00:00:15 python
 6407 ?        00:00:00 kapmd
 6426 ?        00:00:00 apmd
 6446 ?        00:00:00 courierlogger
 6447 ?        00:00:00 authdaemond.pla
 6452 ?        00:00:00 authdaemond.pla
 6453 ?        00:00:00 authdaemond.pla
 6458 ?        00:00:00 authdaemond.pla
 6459 ?        00:00:00 authdaemond.pla
 6460 ?        00:00:00 authdaemond.pla
 6468 ?        00:00:00 couriertcpd
 6476 ?        00:00:00 courierlogger
 6493 ?        00:00:00 couriertcpd
 6499 ?        00:00:00 courierlogger
 6511 ?        00:00:00 couriertcpd
 6513 ?        00:00:00 courierlogger
 6534 ?        00:00:00 couriertcpd
 6536 ?        00:00:00 courierlogger
 6576 ?        00:00:00 mysqld_safe
 6612 ?        00:00:00 mysqld_safe
 6613 ?        00:08:07 mysqld
 6614 ?        00:00:00 logger
 6872 ?        00:00:00 saslauthd
 6874 ?        00:00:00 saslauthd
 6875 ?        00:00:00 saslauthd
 6876 ?        00:00:00 saslauthd
 6877 ?        00:00:00 saslauthd
 6890 ?        00:00:00 sshd
 6905 ?        00:00:00 hcid
 6911 ?        00:00:00 sdpd
 6921 ?        00:00:00 krfcommd
 6961 ?        00:00:00 atd
 6974 ?        00:00:00 cron
 7030 ?        00:00:02 ispconfig_httpd
 7031 ?        00:00:34 ispconfig_wconf
 7036 ?        00:00:03 ispconfig_httpd
 7201 ?        00:00:00 named
 7221 ?        00:00:00 freshclam
 7227 tty1     00:00:00 getty
 7228 tty2     00:00:00 getty
 7229 tty3     00:00:00 getty
 7230 tty4     00:00:00 getty
 7231 tty5     00:00:00 getty
 7232 tty6     00:00:00 getty
 7255 ?        00:00:02 x-session-manag
 7293 ?        00:00:00 ssh-agent
 7296 ?        00:00:00 dbus-launch
 7297 ?        00:00:00 dbus-daemon
 7299 ?        00:00:08 gconfd-2
 7302 ?        00:00:00 gnome-keyring-d
 7306 ?        00:00:00 bonobo-activati
 7310 ?        00:00:05 gnome-settings-
 7312 ?        00:00:03 vino-server
 7315 ?        00:00:08 gam_server
 7353 ?        00:00:51 metacity
 7359 ?        00:00:15 gnome-panel
 7361 ?        00:02:06 nautilus
 7363 ?        00:00:00 gnome-volume-ma
 7367 ?        00:00:35 wnck-applet
 7369 ?        00:00:02 trashapplet
 7373 ?        00:00:03 update-notifier
 7378 ?        00:00:00 gnome-vfs-daemo
 7381 ?        00:01:24 gnome-cups-icon
 7383 ?        00:00:00 notification-da
 7395 ?        00:00:00 mapping-daemon
 7403 ?        00:00:17 clock-applet
 7406 ?        00:00:00 notification-ar
 7408 ?        00:00:02 mixer_applet2
 7423 ?        02:53:07 gnome-system-mo
 7463 ?        00:00:15 gnome-terminal
 7468 ?        00:00:00 gnome-pty-helpe
 7469 pts/0    00:00:00 bash
 7480 pts/1    00:00:00 bash
 7567 ?        00:00:22 gedit
 7659 pts/0    00:00:03 ventrilo_srv
 7700 pts/1    00:00:03 ventrilo_srv
10604 pts/2    00:00:00 bash
10825 ?        00:12:24 firefox-bin
10976 ?        00:00:09 ispconfig_httpd
24696 ?        00:00:23 gnome-search-to
 2400 ?        00:00:06 apache2
 2404 ?        00:00:00 cronolog
 2434 ?        00:00:00 apache2
 2435 ?        00:00:00 apache2
 2436 ?        00:00:00 apache2
 2437 ?        00:00:00 apache2
 2439 ?        00:00:00 apache2
15769 ?        00:00:00 apache2
15770 ?        00:00:00 apache2
27225 ?        00:00:00 proftpd
27313 ?        00:00:00 master
29837 pts/3    00:00:00 bash
29875 ?        00:00:00 qmgr
30129 ?        00:00:00 dhclient3
 6811 ?        00:00:08 cupsd
 6969 ?        00:00:00 syslogd
12945 ?        00:00:00 pickup
14875 ?        00:00:00 sleep
14877 pts/3    00:00:00 ps
__________________
My Server Stats:
No servers currently working.
Reply With Quote
  #6  
Old 19th April 2006, 19:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
Default

Quote:
Originally Posted by Jrdgames
Im not sure which daemon isnt starting at boot but here is my list of running proccesses if that wil help.
This looks fine. Why do you think that a daemon is not running
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 19th April 2006, 21:51
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
This looks fine. Why do you think that a daemon is not running
Because my forums are not showing up properly, they just show the code.
Also I think something in ispconfig or apache must not be working properly because my domain (runecore.selfip.com:82) brings me to "Index of /" which displays the contents of /var/www instead of bringing me to /var/www/runecore.selfip.com/web
__________________
My Server Stats:
No servers currently working.
Reply With Quote
  #8  
Old 20th April 2006, 17:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by Jrdgames
Because my forums are not showing up properly, they just show the code.
This means that PHP is not enabled for that web site; it doesn't mean that a damon is failing to run.

Quote:
Originally Posted by Jrdgames
Also I think something in ispconfig or apache must not be working properly because my domain (runecore.selfip.com:82) brings me to "Index of /" which displays the contents of /var/www instead of bringing me to /var/www/runecore.selfip.com/web
Any errors during ISPConfig installation? Which distribution do you use? Any errors in /home/admispconfig/ispconfig/ispconfig.log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 20th April 2006, 17:50
Jrdgames Jrdgames is offline
Member
 
Join Date: Feb 2006
Location: USA East Coast
Posts: 71
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
This means that PHP is not enabled for that web site; it doesn't mean that a damon is failing to run.
I just checked in ISPConfig and it is enabled.

Any errors during ISPConfig installation? No
Which distribution do you use? Ubuntu 5.10 Breezy Badger
Any errors in /home/admispconfig/ispconfig/ispconfig.log? No

It was working fine up until the 18th then the power went out and when my server came back on it was messed up, Ubuntu runs fine and the 2 voip servers i am running on it, also apache is showing webpages so it must be something with php.
__________________
My Server Stats:
No servers currently working.
Reply With Quote
  #10  
Old 21st April 2006, 10:10
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,456
Thanks: 813
Thanked 5,223 Times in 4,093 Posts
 
Default

Quote:
Originally Posted by Jrdgames
I just checked in ISPConfig and it is enabled.
1) Check the Vhosts_ispconfig.conf and post the vhost of one website where PHP fails.
2) Check your httpd configuration, if the mod_php module is loaded.
3) Did you get errors in the apache error log?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.