On 05/04/2015 07:30 PM, Dario Berzano wrote:
> Hello Adrian,
Hi Dario!
> as far as I know, you need to specify the following three directives in /etc/condor/condor_config (not .local, not config.d):
>
> DEFAULT_DOMAIN_NAME = ifa
> NO_DNS = True
> NETWORK_INTERFACE = <ip_address_of_the_listening_interface>
>
> As for the CONDOR_HOST directive, since you have turned off name resolving I guess you should use an IP address rather than an hostname - maybe this was your problem.
Hmm, yes, i reverted to original/normal defaults and just made sure that /etc/hosts have a hostname and my ip.
After that, i changed /var/run/condor to /run/condor and chown to condor (it seems that some dir are not created automatically)
and accepted all connections from my ip and it mostly worked. After that i had to add to ALLOW directives 127.0.0.1 and behold:
[Monday 04.05.15 23:54] adrian@sev-iss : ~ $
condor_status
Name OpSys Arch State Activity LoadAv Mem ActvtyTime
slot1@xxxxxxxxxxx LINUX X86_64 Unclaimed Idle 0.070 4001 0+00:05:04
slot2@xxxxxxxxxxx LINUX X86_64 Unclaimed Idle 0.000 4001 0+00:05:05
slot3@xxxxxxxxxxx LINUX X86_64 Unclaimed Idle 0.000 4001 0+00:05:06
slot4@xxxxxxxxxxx LINUX X86_64 Unclaimed Idle 0.000 4001 0+00:05:07
Machines Owner Claimed Unclaimed Matched Preempting
X86_64/LINUX 4 0 0 4 0 0
Total 4 0 0 4 0 0
Thanks for help!
Adrian
>
> Cheers
> --
> Dario Berzano
> about.me/dario.berzano <http://about.me/dario.berzano>
>
>
> On Sat, May 2, 2015 at 9:23 PM, Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx <mailto:Adrian.Sevcenco@xxxxxxx>> wrote:
>
> Hi! I am a new comer to HTCondor world and i am just a noob :)
> (i have extensive experience with maui + torque .. and as a result i am here)
> It is clear that there are very different paradigms used and it will take a while
> to get used to the new view but so far i am unable to run condor on my desktop.
> Fedora 21 x86_64 condor-8.3.1-1.fc21.x86_64 from repository
> private network, hostname defined in hosts:
> [Saturday 02.05.15 22:14] root@sev-iss : ~ $
> hostname -f
> sev-iss.ifa
>
> i set up :
> DEFAULT_DOMAIN_NAME = ifa
> NO_DNS = True
>
> and in config.d
> i tried both :
> # CONDOR_HOST = sev-iss.ifa
> CONDOR_HOST = localhost.localdomain
>
> with the same result:
> cat /var/log/condor/.master_address
>
> $CondorVersion: 8.3.1 Nov 23 2014 BuildID: RH-8.3.1-1.fc21 $
> $CondorPlatform: X86_64-Fedora_21 $
>
> and in MasterLog
> 05/02/15 22:19:44 ******************************************************
> 05/02/15 22:19:44 ** condor_master (CONDOR_MASTER) STARTING UP
> 05/02/15 22:19:44 ** /usr/sbin/condor_master
> 05/02/15 22:19:44 ** SubsystemInfo: name=MASTER type=MASTER(2) class=DAEMON(1)
> 05/02/15 22:19:44 ** Configuration: subsystem:MASTER local:<NONE> class:DAEMON
> 05/02/15 22:19:44 ** $CondorVersion: 8.3.1 Nov 23 2014 BuildID: RH-8.3.1-1.fc21 $
> 05/02/15 22:19:44 ** $CondorPlatform: X86_64-Fedora_21 $
> 05/02/15 22:19:44 ** PID = 28252
> 05/02/15 22:19:44 ** Log last touched 5/2 22:19:39
> 05/02/15 22:19:44 ******************************************************
> 05/02/15 22:19:44 Using config source: /etc/condor/condor_config
> 05/02/15 22:19:44 Using local config sources:
> 05/02/15 22:19:44 /etc/condor/config.d/00personal_condor.config
> 05/02/15 22:19:44 config Macros = 152, Sorted = 152, StringBytes = 3186, TablesBytes = 5520
> 05/02/15 22:19:44 CLASSAD_CACHING is OFF
> 05/02/15 22:19:44 Daemon Log is logging: D_ALWAYS D_ERROR
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 DaemonCore: command socket at <>
> 05/02/15 22:19:44 DaemonCore: private command socket at
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 Master restart (GRACEFUL) is watching /usr/sbin/condor_master (mtime:1416704032)
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 condor_gethostname() failed. Cannot initialize local hostname, ip address, FQDN.
> 05/02/15 22:19:44 ERROR "Assertion ERROR on (mysin.Length() > 0)" at line 6510 in file /builddir/build/BUILD/htcondor-8_3_1/src/condor_daemon_core.V6/daemon_core.cpp
> 05/02/15 22:19:44 All daemons are gone.
>
> Any idea about the problem?
>
> The immediate purpose is to have the desktop also as executor(startd) (to schedule my test jobs easy)
> and on longer term to get to know enough of condor to switch the local clusters from maui+torque
> to condor.
>
> Thank you!
> Adrian
>
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature