cancel
Showing results for 
Search instead for 
Did you mean: 

Startup error on Mac OS X

alexandra
Champ on-the-rise
Champ on-the-rise
This thread is a little bit messy Smiley Happy I had an error message here before which I don´t think is relevant any more so I deleted it for clarity…
11 REPLIES 11

alexandra
Champ on-the-rise
Champ on-the-rise
Did some more digging using the Forums and Google Smiley Happy

Found out that in file-servers.xml there were a few values that someone suggested to edit.

The first was

<!–Set to the broadcast mask for the subnet –>
      <broadcast>255.255.255.192</broadcast>

which was 255.255.255.255 before…is this the same as netmask?

This was also disabled

      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>

So I uncommented that as well.

After that my error messages look like this

01:27:09,666 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
01:27:18,554 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /Volumes/Data/alfresco
01:27:19,115 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
01:27:19,201 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
01:27:19,207 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
01:27:19,459 ERROR [org.alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Permission denied
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:407)
   at java.lang.Thread.run(Thread.java:613)
01:27:19,472 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_07-164; maximum heap size 506.313MB
01:27:19,473 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38

Which compared to earlier is some kind of prograss.

However, when trying to mount the CIFS-volume I either get an error saying wrong password or just error code -36 when using Apple-K in Finder.

The log file says like this depending on trying with domain/alfresco or domain_A/alfresco

mount_smbfs: negotiate phase failed: syserr = Connection refused
mount_smbfs: can't get server address `UTV.RFSL.SE_A':
Unknown host
mount_smbfs: can't get server address: syserr = Network is down

Any suggestions…

parlocchio
Champ in-the-making
Champ in-the-making
If you start Alfresco on MAC OS X with 'root' user you can use the reserved port 445, 138, 137 and 139 for Samba & NetBios Services; otherwise if you want start Alfresco with another user you must uncomment the two lines


<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>

and use port 1445, 1138, 1137 and 1139 ( or some other ).

Then it's important to set the domain parameter

<host name="${localname}_A" domain="yourdomain.com"/>

and netmask

<broadcast>255.255.255.0</broadcast>

after this you can try to connect from finder on the same machine where the Alfresco Server starts; to connect from other machine you can set on the firewall the rules to open 1445, 1138, 1137, 1139 ports

see http://wiki.alfresco.com/wiki/File_Server_Configuration#Running_SMB.2FCIFS_from_a_normal_user_accoun...