Alright, I got everything working now, I can access my server, but when I go to view the services on ISPConfig, it shows httpd is offline. I check on the server and it's running and I've tried restarting ispconfig and the whole server, but still shows the same thing. Also, I am getting the error that says that it's currently updating the feature or whatever when trying to restart httpd and other things on ISPConfig.
Whew, I was messing around with the settings and almost killed my ISPConfig installation, it wouldn't even start anymore for a while, but set it back to normal but the problem still remains. I still can't get httpd to show up online and instead of ISPConfig handling the domain i have pointed to it, my fedora default page shows up.
Please make sure APache is listening als on 127.0.0.1 because that's the IP address that ISPConfig checks to see if APache is up. What's the output of Code: netstat -tap ? What's in Vhosts_ispconfig.conf?
netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:mysql *:* LISTEN 2538/mysqld tcp 0 0 *:47279 *:* LISTEN 2181/rpc.statd tcp 0 0 *:sunrpc *:* LISTEN 2162/portmap tcp 0 0 75.27.81.221:http *:* LISTEN 2944/httpd tcp 0 0 localhost:50000 *:* LISTEN 2405/hpiod tcp 0 0 *:hosts2-ns *:* LISTEN 2922/ispconfig_http tcp 0 0 localhost:50002 *:* LISTEN 2410/python tcp 0 0 192.168.1.79:domain *:* LISTEN 3039/named tcp 0 0 75.27.81.221:domain *:* LISTEN 3039/named tcp 0 0 localhost:domain *:* LISTEN 3039/named tcp 0 0 localhost:ipp *:* LISTEN 22794/cupsd tcp 0 0 localhost:rndc *:* LISTEN 3039/named tcp 0 0 *:smtp *:* LISTEN 3013/master tcp 0 0 *:imaps *:* LISTEN 2561/dovecot tcp 0 0 *op3s *:* LISTEN 2561/dovecot tcp 0 0 *op3 *:* LISTEN 2561/dovecot tcp 0 0 *:imap *:* LISTEN 2561/dovecot tcp 0 0 *:ftp *:* LISTEN 3057/proftpd: (acce tcp 0 0 *:ssh *:* LISTEN 2429/sshd tcp 0 0 ::1:rndc *:* LISTEN 3039/named tcp 0 0 *:https *:* LISTEN 2944/httpd tcp 0 2780 ::ffff:75.27.81.221:ssh c-71-57-112-173.hs:datusorb ESTABLISHED 5833/1 Ok, the status was the 127.0.0.1 on apache. Got that working. But I am still getting the error that it's updating. I'll post that contents of the file tomorrow
Also post the output of Code: ls -la /root/ispconfig These threads might be interesting for you: http://www.howtoforge.com/forums/showthread.php?t=5732&highlight=server_bind_zonefile_dir http://www.howtoforge.com/forums/showthread.php?t=1537&highlight=server_bind_zonefile_dir
Code: ls -la /root/ispconfig total 108 drwxr-xr-x 9 root root 4096 Aug 4 17:27 . drwxr-x--- 18 root root 4096 Aug 7 07:22 .. -rwxr-xr-x 1 root root 40157 Jul 21 12:02 cronolog -rwxr-xr-x 1 root root 9673 Jul 21 12:02 cronosplit drwxr-xr-x 12 root root 4096 Jul 21 11:25 httpd drwxr-xr-x 12 root root 4096 Jul 21 12:02 isp -rw-r--r-- 1 root root 0 Aug 7 00:16 .ispconfig_lock -rw-r--r-- 1 root root 8 Aug 7 00:16 .old_path_httpd_root drwxr-xr-x 6 root root 4096 Jul 21 11:21 openssl drwxr-xr-x 6 root root 4096 Jul 21 11:30 php drwxr-xr-x 4 root root 4096 Jul 21 12:02 scripts drwxr-xr-x 4 root root 4096 Jul 21 12:02 standard_cgis drwxr-xr-x 2 root root 4096 Jul 21 12:02 sv -rwx------ 1 root root 9389 Jul 21 12:02 uninstall Vhosts_ispconfig.conf: Code: ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 75.27.81.221:80 <VirtualHost 75.27.81.221:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip </VirtualHost> NameVirtualHost 75.27.81.221:80 <VirtualHost 75.27.81.221:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip </VirtualHost> # # ###################################### # Vhost: db.er-center.com:80 ###################################### # # <VirtualHost 75.27.81.221:80> ServerName db.er-center.com:80 ServerAdmin [email protected] DocumentRoot /var/www/web8/web ServerAlias er-center.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web8/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web8/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode On php_admin_value open_basedir /var/www/web8/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/web8/phptmp/ php_admin_value session.save_path /var/www/web8/phptmp/ AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web8/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 </VirtualHost> # # #
Please run Code: rm -f /root/ispconfig/.ispconfig_lock /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php What's the output? Also, what's the output of Code: ifconfig ?
Yeah, I solved the 127.0.0.1 listen problem. here is if config Code: ifconfig eth0 Link encap:Ethernet HWaddr 00:17:31:C4:4F:33 inet addr:75.27.81.221 Bcast:75.27.81.255 Mask:255.255.255.0 inet6 addr: fe80::217:31ff:fec4:4f33/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:303716 errors:0 dropped:0 overruns:0 frame:0 TX packets:45889 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20209947 (19.2 MiB) TX bytes:17768809 (16.9 MiB) Interrupt:10 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:17:31:C4:56:74 inet addr:192.168.1.79 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::217:31ff:fec4:5674/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:499790 errors:0 dropped:0 overruns:0 frame:0 TX packets:138634 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:246756385 (235.3 MiB) TX bytes:14051134 (13.4 MiB) Interrupt:11 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8072 errors:0 dropped:0 overruns:0 frame:0 TX packets:8072 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2693366 (2.5 MiB) TX bytes:2693366 (2.5 MiB)
There was no output...it just removed the items. NOTE: I updated to 2.2.6, still have the problem when trying to restart services through ISPConfig though.
Executing this as root: /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php Does not show something like "begin end"? Does the cursor returns after some seconds?
If you use Fedora, this could also be interesting for you: http://www.howtoforge.com/forums/showthread.php?t=5732&highlight=server_bind_zonefile_dir http://www.howtoforge.com/forums/showthread.php?t=1537&highlight=server_bind_zonefile_dir
Tried the zonefile fixes. They kind of worked but I just got new errors. (unique_array()) Compiled 5.0.4 and the writeconf.php problem went away. I no longer get the problem that there are changes being made, but now I am getting sent to the fedora default page. I believe it's in /var/www??? Going straight to the IP adress, 75.27.81.221, sends me to the fedora page instead of the Shared IP page. Also, thanks for all the help. I just am new to this and have no clue what to do with it.
What's in Vhosts_ispconfig.conf? What's the output of Code: ifconfig ? What's the output of Code: ls -la /root/ispconfig ?
Code: ifconfig eth0 Link encap:Ethernet HWaddr 00:17:31:C4:4F:33 inet addr:192.168.1.71 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::217:31ff:fec4:4f33/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1061661 errors:0 dropped:0 overruns:0 frame:0 TX packets:146536 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:96347504 (91.8 MiB) TX bytes:90808035 (86.6 MiB) Interrupt:10 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:17:31:C4:56:74 inet addr:192.168.1.79 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::217:31ff:fec4:5674/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1305561 errors:0 dropped:0 overruns:0 frame:0 TX packets:227354 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:361258893 (344.5 MiB) TX bytes:25101933 (23.9 MiB) Interrupt:11 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:124121 errors:0 dropped:0 overruns:0 frame:0 TX packets:124121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11453148 (10.9 MiB) TX bytes:11453148 (10.9 MiB) Code: ls -la /root/ispconfig total 108 drwxr-xr-x 9 root root 4096 Aug 14 00:26 . drwxr-x--- 19 root root 4096 Aug 15 11:03 .. -rwxr-xr-x 1 root root 40221 Aug 9 20:42 cronolog -rwxr-xr-x 1 root root 9673 Aug 9 20:42 cronosplit drwxr-xr-x 12 root root 4096 Aug 9 20:00 httpd drwxr-xr-x 12 root root 4096 Aug 9 20:42 isp -rw-r--r-- 1 root root 8 Aug 14 00:26 .old_path_httpd_root drwxr-xr-x 6 root root 4096 Aug 9 19:53 openssl drwxr-xr-x 6 root root 4096 Aug 9 20:05 php drwxr-xr-x 4 root root 4096 Aug 9 20:42 scripts drwxr-xr-x 4 root root 4096 Aug 9 20:42 standard_cgis drwxr-xr-x 2 root root 4096 Aug 9 20:42 sv -rwx------ 1 root root 9389 Aug 9 20:42 uninstall