PDA

View Full Version : i am having some problem ?


cobro
19th April 2008, 03:46
okey so i am brandnew to linux but i have manage to install fedora 8 and i am going to use it as dedicated server ok i installed fedora hehe but with the wrong install instructions i followed fedora_7_server but maby the are same as fedora_8_server setup ? yeah maby that might be the problem why this is not working for me but i can see test page in my browser but i have installed ispconfig but i am just not able to connect to it ? just says firefox can`t establish connection to server at 192.168.1.2:81.

maby i have to setup fedora installation as the say in the right fedora setup number 8 :) and then every thing might work but one more question do i have to install ispconfig first before i configure my server or just at the end of server configuration ?

hope to see some answers

Thank you :)

till
19th April 2008, 11:24
You will have to setup your server first by following the instructions of the perfect setup guide for fedora 8 and then install ISPConfig.

The instructions for fedora 8 are listed on the ispconfig documentation page:

http://www.ispconfig.org/documentation.htm

and the direct link to the tutorial is:

http://www.howtoforge.com/fedora-8-server-lamp-email-dns-ftp-ispconfig

cobro
19th April 2008, 14:13
will try thank you very much

okey when i have done setting up the server do i put install_ispconfig in the html folder ? or out site the folder ? for security reasons ? on ispconfig web site they say only name it cd install_ispconfig ok and then just /setup ?

till
19th April 2008, 20:25
Download ISPConfig to your /tmp directory, do not download it to any directory that is reachable via browser like the html directory.

cobro
20th April 2008, 02:50
okey thank you..

cobro
21st April 2008, 11:00
and just one more thing the dns ip in the instructions can i use them or do i have to set my static ip address there ? i only have 1 static ip can i have ns1.yourdomina.com and ns2.yourdomain.com on single static ip ?

till
21st April 2008, 12:33
If your server is located in a datacenter with a static IP, you will have to use the static IP address. If your server is located behind a NAT router, then you will ahve to use a privet IP from within your network.

cobro
23rd April 2008, 10:57
sorry :) can i use the same dns ip addresses as in the setup instructions ?

and one more problem im having i am stuck in login window witch is all black an it says server1 login: root and then in password i can`t put any letters in ? so i can`t login :(

aqua
24th April 2008, 02:13
black screen? Is that your login console?

That is not the control panel to ISPconfig. You can fine the control panel at https://www.youdomain.com:81

The default user/pass is admin/admin. Change it when you login.

cobro
24th April 2008, 16:01
Firefox can't establish a connection to the server at 192.168.1.3:81.

what can i do ? i have installed ispconfig in /tmp and i installed it in standart mode not expert mode anyone have had this issue ?

falko
24th April 2008, 16:59
What's the output of netstat -tap and iptables -L?

cobro
24th April 2008, 21:15
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 1988/mysqld
tcp 0 0 *:55467 *:* LISTEN 1662/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1643/rpcbind
tcp 0 0 localhost.localdomai:domain *:* LISTEN 1802/named
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2239/cupsd
tcp 0 0 localhost.localdomain:smtp *:* LISTEN 2077/master
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 1802/named
tcp 0 0 192.168.1.3:45208 www.howtoforge.com:http TIME_WAIT -
tcp 0 0 192.168.1.3:44204 fk-in-f164.google.com:http ESTABLISHED 31705/firefox-bin
tcp 0 0 192.168.1.3:45212 www.howtoforge.com:http TIME_WAIT -
tcp 0 0 192.168.1.3:45215 www.howtoforge.com:http TIME_WAIT -
tcp 0 0 192.168.1.3:45203 www.howtoforge.com:http TIME_WAIT -
tcp 0 0 192.168.1.3:44205 fk-in-f164.google.com:http ESTABLISHED 31705/firefox-bin
tcp 0 0 *:imaps *:* LISTEN 2014/dovecot
tcp 0 0 *:pop3s *:* LISTEN 2014/dovecot
tcp 0 0 *:pop3 *:* LISTEN 2014/dovecot
tcp 0 0 *:imap *:* LISTEN 2014/dovecot
tcp 0 0 *:http *:* LISTEN 31355/httpd
tcp 0 0 *:ftp *:* LISTEN 2088/proftpd: (acce
tcp 0 0 localhost6.localdoma:domain *:* LISTEN 1802/named
tcp 0 0 *:ssh *:* LISTEN 1887/sshd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 1802/named
tcp 0 0 *:https *:* LISTEN 31355/httpd

iptables -L

[root@server1 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

falko
25th April 2008, 17:35
ISPConfig isn't running. Start it as follows:
/etc/init.d/ispconfig_server start

cobro
26th April 2008, 00:14
i get this when i try that command

[root@server1 ~]# /etc/init.d/ispconfig_server start
bash: /etc/init.d/ispconfig_server: Permission denied


i am logged in as root

and the file was not inside the init.d folder i just just copyed it and tried it that way but got this massage.. and i extracted the install_ispconfig in / tmp is that the right folder...

and also i deleted the built in ftp server and setup proftp but i Fails to start ? maby port is being used ? but that above is what i get if i try to run the ispconfig_ server

falko
26th April 2008, 15:09
Did you disable SELinux?
What's the output of ls -la /etc/init.d/ispconfig_server?

cobro
26th April 2008, 21:50
[root@server1 ~]# ls -la /etc/init.d/ispconfig_server
-rw-r--r-- 1 root root 3755 2007-07-19 16:08 /etc/init.d/ispconfig_server

yes SElinux is disabled

:) maby i just have to pay you to get my server up and running ? :) installed fedora again and you remote control

falko
27th April 2008, 20:44
Run
chmod 755 /etc/init.d/ispconfig_server
/etc/init.d/ispconfig_server start

cobro
28th April 2008, 21:17
[root@server1 ~]# chmod 755 /etc/init.d/ispconfig_server
[root@server1 ~]# /etc/init.d/ispconfig_server start
Starting ISPConfig system...
/etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No s uch file or directory
/etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
/etc/init.d/ispconfig_server: line 52: /home/admispconfig/ispconfig/tools/clamav /bin/freshclam: No such file or directory
ISPConfig system is now up and running!



i will have to set it up again in the right folder or can i copy past the file folder to the folder above ? or what would you say would be best to do ?

falko
29th April 2008, 17:34
What are the outputs of
ls -la /root
ls -la /root/ispconfig
ls -la /home
ls -la /home/admispconfig?

cobro
29th April 2008, 22:13
[root@server1 ~]#
[root@server1 ~]# [root@server1 ~]# ls -la /root
-bash: [root@server1: command not found
drwxr-x--- 27 root root 4096 2008-04-26 08:51 .
drwxr-xr-x 23 root root 4096 2008-04-26 08:19 ..
[root@server1 ~]# total 308
-rw------- 1 root root 1769 2008-04-25 18:18 anaconda-ks.cfg
-rw------- 1 root root 8965 2008-04-28 18:19 .bash_history
-bash: total: command not found
-rw-r--r-- 1 root root 24 2006-07-13 00:06 .bash_logout
[root@server1 ~]# drwxr-x--- 27 root root 4096 2008-04-26 08:51 .
-bash: drwxr-x---: command not found
-rw-r--r-- 1 root root 176 2006-07-13 00:06 .bashrc
[root@server1 ~]# drwxr-xr-x 23 root root 4096 2008-04-26 08:19 ..
-bash: drwxr-xr-x: command not found
drwxr-xr-x 3 root root 4096 2008-04-25 20:58 .config

[root@server1 ~]# -rw------- 1 root root 1769 2008-04-25 18:18 anaconda-ks.cfg
-bash: -rw-------: command not found

[root@server1 ~]# -rw------- 1 root root 8965 2008-04-28 18:19 .bash_history
-rw------- 1 root root 28 2008-04-26 08:20 .dmrc
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Documents
-bash: -rw-------: command not found
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Download
[root@server1 ~]# -rw-r--r-- 1 root root 24 2006-07-13 00:06 .bash_logout
drwx------ 8 root root 4096 2008-04-26 08:45 .gnome2
-bash: -rw-r--r--: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 191 2006-07-13 00:06 .bash_profile
-rw-r--r-- 1 root root 106 2008-04-26 08:20 .gtk-bookmarks
-bash: -rw-r--r--: command not found
-rw-r--r-- 1 root root 81 2008-04-25 18:27 .gtkrc-1.2-gnome2
[root@server1 ~]# -rw-r--r-- 1 root root 176 2006-07-13 00:06 .bashrc
-rw-r--r-- 1 root root 56101 2008-04-25 18:18 install.log
-rw-r--r-- 1 root root 5635 2008-04-25 18:13 install.log.syslog
-bash: -rw-r--r--: command not found

[root@server1 ~]# -rw-r--r-- 1 root root 0 2008-04-25 20:31 cakey.pem
drwx------ 3 root root 4096 2008-04-25 18:27 .metacity
-bash: -rw-r--r--: command not found
drwx------ 3 root root 4096 2008-04-25 18:30 .mozilla
[root@server1 ~]# drwxr-xr-x 3 root root 4096 2008-04-25 20:58 .config
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 100 2006-07-13 00:06 .cshrc
-bash: -rw-r--r--: command not found
drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .nautilus
[root@server1 ~]# drwx------ 3 root root 4096 2008-04-26 08:26 .dbus
-bash: drwx------: command not found
-rw------- 1 root root 256 2008-04-25 18:27 .pulse-cookie
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 20:57 Desktop
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw------- 1 root root 28 2008-04-26 08:20 .dmrc
-rw------- 1 root root 1024 2008-04-25 20:31 .rnd
-bash: -rw-------: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Documents
-bash: drwxr-xr-x: command not found
-rw-r--r-- 1 root root 129 2006-07-13 00:06 .tcshrc
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Templates
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Download
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw------- 1 root root 16 2008-04-25 18:27 .esd_auth
drwxr-xr-x 2 root root 4096 2008-04-26 08:20 .wapi
-rw-r--r-- 1 root root 1276 2008-04-26 08:20 .xsession-errors
-bash: -rw-------: command not found
[root@server1 ~]# drwx------ 5 root root 4096 2008-04-26 08:20 .gconf
-bash: drwx------: command not found
[root@server1 ~]# drwx------ 2 root root 4096 2008-04-26 18:56 .gconfd
-bash: drwx------: command not found
[root@server1 ~]# drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .gnome
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwx------ 8 root root 4096 2008-04-26 08:45 .gnome2
-bash: drwx------: command not found
[root@server1 ~]# drwx------ 2 root root 4096 2008-04-25 18:27 .gnome2_private
-bash: drwx------: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 20:53 .gstreamer-0.10
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 106 2008-04-26 08:20 .gtk-bookmarks
-bash: -rw-r--r--: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 81 2008-04-25 18:27 .gtkrc-1.2-gnome2
-bash: -rw-r--r--: command not found
[root@server1 ~]# -rw------- 1 root root 930 2008-04-26 08:20 .ICEauthority
-bash: -rw-------: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 56101 2008-04-25 18:18 install.log
-bash: -rw-r--r--: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 5635 2008-04-25 18:13 install.log.syslog
-bash: -rw-r--r--: command not found
[root@server1 ~]# drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .local
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwx------ 5 root root 4096 2008-04-26 04:39 Maildir
-bash: drwx------: command not found
[root@server1 ~]# drwx------ 3 root root 4096 2008-04-25 18:27 .metacity
-bash: drwx------: command not found
[root@server1 ~]# drwx------ 3 root root 4096 2008-04-25 18:30 .mozilla
-bash: drwx------: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Music
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .nautilus
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Pictures
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Public
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 20:53 .pulse
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw------- 1 root root 256 2008-04-25 18:27 .pulse-cookie
-bash: -rw-------: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 4261 2008-04-26 08:45 .recently-used.xbel
-bash: -rw-r--r--: command not found
[root@server1 ~]# -rw------- 1 root root 1024 2008-04-25 20:31 .rnd
-bash: -rw-------: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 129 2006-07-13 00:06 .tcshrc
-bash: -rw-r--r--: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Templates
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 4 root root 4096 2008-04-25 18:27 .tomboy
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 4598 2008-04-26 08:20 .tomboy.log
-bash: -rw-r--r--: command not found
[root@server1 ~]# drwx------ 5 root root 4096 2008-04-26 08:45 .Trash
-bash: drwx------: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Videos
-bash: drwxr-xr-x: command not found
[root@server1 ~]# drwxr-xr-x 2 root root 4096 2008-04-26 08:20 .wapi
-bash: drwxr-xr-x: command not found
[root@server1 ~]# -rw-r--r-- 1 root root 1276 2008-04-26 08:20 .xsession-errors
-bash: -rw-r--r--: command not found
[root@server1 ~]# ls -la /root
total 308
drwxr-x--- 27 root root 4096 2008-04-26 08:51 .
drwxr-xr-x 23 root root 4096 2008-04-26 08:19 ..
-rw------- 1 root root 1769 2008-04-25 18:18 anaconda-ks.cfg
-rw------- 1 root root 12228 2008-04-29 18:58 .bash_history
-rw-r--r-- 1 root root 24 2006-07-13 00:06 .bash_logout
-rw-r--r-- 1 root root 191 2006-07-13 00:06 .bash_profile
-rw-r--r-- 1 root root 176 2006-07-13 00:06 .bashrc
-rw-r--r-- 1 root root 0 2008-04-25 20:31 cakey.pem
drwxr-xr-x 3 root root 4096 2008-04-25 20:58 .config
-rw-r--r-- 1 root root 100 2006-07-13 00:06 .cshrc
drwx------ 3 root root 4096 2008-04-26 08:26 .dbus
drwxr-xr-x 2 root root 4096 2008-04-25 20:57 Desktop
-rw------- 1 root root 28 2008-04-26 08:20 .dmrc
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Documents
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Download
-rw------- 1 root root 16 2008-04-25 18:27 .esd_auth
drwx------ 5 root root 4096 2008-04-26 08:20 .gconf
drwx------ 2 root root 4096 2008-04-26 18:56 .gconfd
drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .gnome
drwx------ 8 root root 4096 2008-04-26 08:45 .gnome2
drwx------ 2 root root 4096 2008-04-25 18:27 .gnome2_private
drwxr-xr-x 2 root root 4096 2008-04-25 20:53 .gstreamer-0.10
-rw-r--r-- 1 root root 106 2008-04-26 08:20 .gtk-bookmarks
-rw-r--r-- 1 root root 81 2008-04-25 18:27 .gtkrc-1.2-gnome2
-rw------- 1 root root 930 2008-04-26 08:20 .ICEauthority
-rw-r--r-- 1 root root 56101 2008-04-25 18:18 install.log
-rw-r--r-- 1 root root 5635 2008-04-25 18:13 install.log.syslog
drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .local
drwx------ 5 root root 4096 2008-04-26 04:39 Maildir
drwx------ 3 root root 4096 2008-04-25 18:27 .metacity
drwx------ 3 root root 4096 2008-04-25 18:30 .mozilla
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Music
drwxr-xr-x 3 root root 4096 2008-04-25 18:27 .nautilus
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Pictures
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Public
drwxr-xr-x 2 root root 4096 2008-04-25 20:53 .pulse
-rw------- 1 root root 256 2008-04-25 18:27 .pulse-cookie
-rw-r--r-- 1 root root 4261 2008-04-26 08:45 .recently-used.xbel
-rw------- 1 root root 1024 2008-04-25 20:31 .rnd
-rw-r--r-- 1 root root 129 2006-07-13 00:06 .tcshrc
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Templates
drwxr-xr-x 4 root root 4096 2008-04-25 18:27 .tomboy
-rw-r--r-- 1 root root 4598 2008-04-26 08:20 .tomboy.log
drwx------ 5 root root 4096 2008-04-26 08:45 .Trash
drwxr-xr-x 2 root root 4096 2008-04-25 18:27 Videos
drwxr-xr-x 2 root root 4096 2008-04-26 08:20 .wapi
-rw-r--r-- 1 root root 1276 2008-04-26 08:20 .xsession-errors
[root@server1 ~]# ls -la /root/ispconfig
ls: cannot access /root/ispconfig: No such file or directory
[root@server1 ~]# ls -la /home
total 24
drwxr-xr-x 3 root root 4096 2008-04-25 18:26 .
drwxr-xr-x 23 root root 4096 2008-04-26 08:19 ..
drwx------ 3 Administrator Administrator 4096 2008-04-25 18:26 Administrator
[root@server1 ~]# ls -la /home/admispconfig
ls: cannot access /home/admispconfig: No such file or directory
[root@server1 ~]#

falko
30th April 2008, 17:26
Either ISPConfig isn't installed at all, or you deleted (maybe accidentally) the /root/ispconfig and /home/admispconfig directories. :eek: Do you have backups of these directories in /tmp?