PDA

View Full Version : error messages after ispconfig_server start


guidovanh
15th March 2006, 16:20
I reformatted and reinstalled Linux (SuSE X) and ISPConfig 220.
After setting up one of my websites and starting ispconfig_server start, I see a long error message:

linux:/share/install_ispconfig # /etc/init.d/ispconfig_server start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
/root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 2728) already running
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
FreshClam is already running!
ISPConfig system is now up and running!
You have new mail in /var/spool/mail/guido
linux:/share/install_ispconfig #

"Onbekend bestand of map" means: Unknown file or directory

Every 30 minutes I receive a mail notification:
Warning: service ftpd not running (server: linux)!

What do I have to do to solve this problems?

falko
15th March 2006, 18:41
I reformatted and reinstalled Linux (SuSE X) and ISPConfig 220.
After setting up one of my websites and starting ispconfig_server start, I see a long error message:

linux:/share/install_ispconfig # /etc/init.d/ispconfig_server start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
/root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 2728) already running
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Onbekend bestand of map
FreshClam is already running!
ISPConfig system is now up and running!
You have new mail in /var/spool/mail/guido
linux:/share/install_ispconfig #

"Onbekend bestand of map" means: Unknown file or directory
This happens because you're still in the install_ispconfig directory which doesn't exist anymore. Go to another directory, and you'll see the warnings are gone. :)

Every 30 minutes I receive a mail notification:
Warning: service ftpd not running (server: linux)!

What do I have to do to solve this problems?
Is your FTP server running? Please post the output of netstat -tap

guidovanh
15th March 2006, 20:18
This happens because you're still in the install_ispconfig directory which doesn't exist anymore. Go to another directory, and you'll see the warnings are gone. :)
Is your FTP server running? Please post the output of netstat -tap
linux:/etc/init.d # /etc/init.d/ispconfig_server start
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
linux:/etc/init.d # 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 4156/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 4368/smbd
tcp 0 0 *:sunrpc *:* LISTEN 3960/portmap
tcp 0 0 *:www-http *:* LISTEN 4943/httpd
tcp 0 0 *:hosts2-ns *:* LISTEN 25467/ispconfig_htt
tcp 0 0 192.168.2.100:domain *:* LISTEN 25620/named
tcp 0 0 localhost:domain *:* LISTEN 25620/named
tcp 0 0 *:ipp *:* LISTEN 4197/cupsd
tcp 0 0 localhost:953 *:* LISTEN 25620/named
tcp 0 0 localhost:smtp *:* LISTEN 25546/master
tcp 0 0 *:microsoft-ds *:* LISTEN 4368/smbd
tcp 0 0 192.168.2:printer_agent 66.249.93.99:www-http ESTABLISHED 4880/firefox-bin
tcp 0 0 192.168.2.1:netbios-ssn 192.168.2.111:accelenet ESTABLISHED 11831/smbd
tcp 0 0 localhost:glbp localhost:953 TIME_WAIT -
tcp 0 0 localhost:xnm-ssl localhost:953 TIME_WAIT -
tcp 0 0 localhos:xnm-clear-text localhost:953 TIME_WAIT -
tcp 0 0 192.168.2.1:netbios-ssn 192.168.2.5:fhc ESTABLISHED 12761/smbd
tcp 0 0 *:domain *:* LISTEN 25620/named
tcp 0 0 *:ssh *:* LISTEN 4703/sshd
tcp 0 0 localhost:953 *:* LISTEN 25620/named
tcp 0 0 localhost:smtp *:* LISTEN 25546/master
linux:/etc/init.d #

till
15th March 2006, 20:29
Which FTP daemon have you installed, proftpd?

Please try to run:

/etc/init.d/proftpd start

guidovanh
15th March 2006, 21:59
Which FTP daemon have you installed, proftpd?

Please try to run:

/etc/init.d/proftpd start

When I installed ISPConfig, the setup tells me that it had found an FTP daemon. I remember the name vsftpd. But I am not sure. Where can I find this?

falko
15th March 2006, 23:14
Does the file /etc/xinetd.d/vsftp exist? What's in it?

guidovanh
15th March 2006, 23:17
Does the file /etc/xinetd.d/vsftp exist? What's in it?
No, in /etc/xinetd.d/ is no file vsftp or something similar.

falko
15th March 2006, 23:27
Does /etc/init.d/vsftp or /etc/init.d/vsftpd exist?

guidovanh
15th March 2006, 23:53
Does /etc/init.d/vsftp or /etc/init.d/vsftpd exist?
No, in /etc/init.d is neither vsftp nor vsftpd.
Maybe vsftpd is not installed?? Why does ISPConfig setup say that it found vsftpd? :)

guidovanh
16th March 2006, 11:12
No, in /etc/init.d is neither vsftp nor vsftpd.
Maybe vsftpd is not installed?? Why does ISPConfig setup say that it found vsftpd? :)
When I start YaST and search for ftp, YaST will find vsftpd installed yet (it is marked).
What do I have to do now?

guidovanh
16th March 2006, 11:58
When I start to search ftp, vsftpd is found in /etc/pam.d
/etc/pam.d/vsftpd start results in a "Access denied".

falko
16th March 2006, 12:16
Please post the output of ls -la /etc/xinetd.d/

guidovanh
16th March 2006, 12:44
Please post the output of ls -la /etc/xinetd.d/

Here is the result:

linux:/etc/pam.d # ls -la /etc/xinetd.d/
totaal 96
drwxr-xr-x 2 root root 608 2006-03-14 21:46 .
drwxr-xr-x 85 root root 7856 2006-03-15 19:16 ..
-rw-r--r-- 1 root root 293 2002-10-22 14:02 chargen
-rw-r--r-- 1 root root 313 2002-10-22 14:02 chargen-udp
-rw-r--r-- 1 root root 256 2005-09-12 23:08 cups-lpd
-rw-r--r-- 1 root root 293 2002-10-22 14:02 daytime
-rw-r--r-- 1 root root 313 2002-10-22 14:02 daytime-udp
-rw-r--r-- 1 root root 285 2002-10-22 14:02 echo
-rw-r--r-- 1 root root 304 2002-10-22 14:02 echo-udp
-rw-r--r-- 1 root root 358 2005-09-09 17:59 fam
-rw-r--r-- 1 root root 880 2005-09-09 19:11 imap
-rw-r--r-- 1 root root 428 2005-09-13 04:45 nagios-nrpe
-rw-r--r-- 1 root root 492 2006-01-31 17:57 netstat
-rw-r--r-- 1 root root 191 2005-09-09 20:50 qpopper
-rw-r--r-- 1 root root 207 2005-09-13 02:40 rsync
-rw-r--r-- 1 root root 337 2005-09-13 04:23 sane-port
-rw-r--r-- 1 root root 312 2002-10-22 14:02 servers
-rw-r--r-- 1 root root 314 2002-10-22 14:02 services
-rw-r--r-- 1 root root 277 2005-07-20 12:43 swat
-rw-r--r-- 1 root root 536 2005-09-09 18:06 systat
-rw-r--r-- 1 root root 492 2005-09-09 18:28 tftp
-rw-r--r-- 1 root root 319 2002-10-22 14:02 time
-rw-r--r-- 1 root root 313 2002-10-22 14:02 time-udp
-rw-r--r-- 1 root root 2338 2006-03-13 07:53 vnc
linux:/etc/pam.d #

falko
16th March 2006, 12:51
I suggest you remove vsftpd with yast and install ProFTPd, as described here: http://www.howtoforge.com/perfect_setup_suse_10.0_p5
Afterwards, please check the settings in ISPConfig: Managmement -> Server -> Settings -> FTP.

guidovanh
16th March 2006, 15:02
Afterwards, please check the settings in ISPConfig: Managmement -> Server -> Settings -> FTP.

In the given document I read to add some lines for security reasons. Did I have to do that? After the command
/etc/init.d/proftpd start I stopped.

I think /etc/init.d/proftpd is the config file which I have to put into the settings of ISPConfig, isn't it?

falko
16th March 2006, 19:06
In the given document I read to add some lines for security reasons. Did I have to do that? After the command
/etc/init.d/proftpd start I stopped.
They are optional, but they don't hurt. ;)

I think /etc/init.d/proftpd is the config file which I have to put into the settings of ISPConfig, isn't it?Yes.

guidovanh
16th March 2006, 20:10
Where do I have to define the users who may use FTP for their website? In ISPConfig or in the FTP program?

till
16th March 2006, 22:42
Where do I have to define the users who may use FTP for their website? In ISPConfig or in the FTP program?

Add an (email) user in ISPConfig. If the administrator checkbox is activated the user will have FTP access to the complete website. Then use this username and password in your FTP client.

guidovanh
16th March 2006, 22:59
Add an (email) user in ISPConfig. If the administrator checkbox is activated the user will have FTP access to the complete website. Then use this username and password in your FTP client.

I am sorry, but I don't understand it.
On website www.domain.com I created a user with the administrator checkbox activated.
What are the correct settings for the FTP client? ftp.domain.com ?? or IP-address?

till
16th March 2006, 23:04
What are the correct settings for the FTP client? ftp.domain.com ?? or IP-address?
Either you use your domain domain.com or www.domain.com or the IP address. If you want to use ftp.domain.com, dont forget to make a DNS A-Record for ftp.domain.com pointing to your server IP.

guidovanh
16th March 2006, 23:16
sorry, duplicate posted. So I erased it now.